- Name:
- #picaxe
- Syntax:
-
#PICAXE xxx
- Description:
-
Set the compiler mode.
This directive also automatically defines a label of the PICAXE type e.g. #picaxe 08m2 is also the equivalent of #define _08m2.
If no #picaxe directive is used the system defaults to the currently selected PICAXE mode (View>Options>Mode menu within Programming Editor).
Using #picaxe
Examples of using #picaxe directives.
- Code Example:
-
#picaxe 08m #picaxe 14m2 #picaxe 40x2
Copy Code Submit an Example
Submit Your Own Code!
You must be logged in to submit code examples. Login now.