hey! i am very new to arduino programming and i am learning programming by understanding the code. Following are 3 problems i have thought of! as i have no prior knowledge in any programming language , i am learning by example. If you could tell me how i can code my problems ( the 3 below)
, i can get a good understanding of the code and learn! thank you
1)Write a program for reading the serial input from the user and perform the following operation,
Red led should glow if the user inputs numbers (integers)
Blue led should glow if the user inputs strings (string size minimum 5 characters)
White led should glow for any other garbage input from the user
- Write a program to make the LED blink according to the delay given by the user (in
milliseconds) through Serial input screen and at every 10 second interval the program
should update the Serial output screen with the current delay of the LED.
- Write a program, which will perform the following,
White led should glow for one second when user inputs white
Red led should glow for one second when the user inputs red
Blue led should glow for one second when user inputs blue
For any other case all the three ledβs should blink simultaneously with any delay of your choice.