Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- unsigned int example = 65535;
- void setup() {
- pinMode(LED_BUILTIN, OUTPUT);
- Serial.begin(9600);
- Serial.println("");
- Serial.print("The example unsigned int is : ");
- Serial.println(example);
- Serial.print("Size of unsigned int = ");
- Serial.println(sizeof(example));
- }
- void loop() {
- digitalWrite(LED_BUILTIN, HIGH);
- delay(1000);
- digitalWrite(LED_BUILTIN, LOW);
- delay(2000);
- digitalWrite(LED_BUILTIN, HIGH);
- delay(100);
- digitalWrite(LED_BUILTIN, LOW);
- delay(100);
- digitalWrite(LED_BUILTIN, HIGH);
- delay(100);
- digitalWrite(LED_BUILTIN, LOW);
- delay(100);
- digitalWrite(LED_BUILTIN, HIGH);
- delay(100);
- digitalWrite(LED_BUILTIN, LOW);
- delay(2000);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement