Timeline for State machinese for serial input
Current License: CC BY-SA 3.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 11, 2016 at 7:31 | comment | added | Elchapo | Thank you. I was complicating it with all the if statements and conditions. Your answer makes much more sense Thank | |
Nov 11, 2016 at 7:30 | vote | accept | Elchapo | ||
Nov 11, 2016 at 7:28 | comment | added | duck | I think I got your objective. Answer updated | |
Nov 11, 2016 at 7:28 | history | edited | duck | CC BY-SA 3.0 |
update answer
|
Nov 11, 2016 at 7:26 | comment | added | Elchapo | Getting input from the keyboard. I put in a value between 1-90 and It should rotate the servo that much. Once the servo rotates more than 180 degrees then it should reset to 0; I want to set it up so that immediately upon receiving input it rotates that much. Right now it waits until it resets to adjust the amount I rotate the servo | |
Nov 11, 2016 at 7:22 | comment | added | duck | Can you explain what is the serial input used for? | |
Nov 11, 2016 at 7:20 | comment | added | Elchapo | I should've been more clear. I want to rotate the servo from 0-180, and once the servo goes past 180 I want to reset it back to 0 | |
Nov 11, 2016 at 7:18 | history | answered | duck | CC BY-SA 3.0 |