Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- unsigned int i = 0;
- char buffer[50];
- void setup()
- {
- Serial.begin(115200);
- }
- void loop()
- {
- sprintf(buffer, " %02d", i++), Serial.println(buffer);
- delay(1000);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement