In Arduino Nano how to increment by only 1? If it increments till 4 or 5 with 1 increment | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 7

In Arduino Nano how to increment by only 1? If it increments till 4 or 5 with 1 increment

In Arduino Nano how to increment by only 1? If it increments till 4 or 5 with 1 increment

12th Jun 2019, 2:09 PM
Zhenis Otarbay
Zhenis Otarbay - avatar
3 Answers
+ 3
int a;a=+1 setup() {     time = 1; } loop() {     time++; } In this we increment If it increments more we need to decrement. then we use -
13th Jun 2019, 2:22 AM
hemanth kumarhk
hemanth kumarhk - avatar
+ 2
I hope it helps
13th Jun 2019, 2:26 AM
hemanth kumarhk
hemanth kumarhk - avatar
+ 1
Same name, same time,good skills
13th Jun 2019, 11:52 AM
Hemanth Kumar
Hemanth Kumar - avatar