Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const byte debug=0;
- void setup() {
- // put your setup code here, to run once:
- if (debug) Serial.begin(9600);
- pinMode(13, OUTPUT);
- }
- void loop() {
- // put your main code here, to run repeatedly:
- digitalWrite(13, HIGH);
- if (debug) Serial.print("High");
- delay(1000);
- digitalWrite(13, LOW);
- if (debug) Serial.print("Low");
- delay(1000);
- }
- // const byte debug = 1, program size: 2,332 bytes
- // const byte debug = 0, program size 1,030 bytes
- // Serial Commented Out, program size: 1,030 bytes
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement