Timeline for Incremental encoder code
Current License: CC BY-SA 3.0
16 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Feb 13, 2023 at 6:00 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
| Oct 16, 2022 at 5:06 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
| Jun 18, 2022 at 4:03 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
| Feb 18, 2022 at 3:04 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
| Oct 21, 2021 at 2:06 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
| Jun 23, 2021 at 2:00 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
| Feb 23, 2021 at 1:09 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
| Oct 26, 2020 at 0:03 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
| Jun 1, 2015 at 2:55 | answer | added | CharlieHanson | timeline score: 0 | |
| May 31, 2015 at 6:56 | comment | added | jfpoilpret |
Also, you could chnage the init order in your setup() to first Serial.begin(...), that would give time for serial init before triggering encoder interrupts.
|
|
| May 31, 2015 at 6:54 | comment | added | jfpoilpret |
What is weird is that you mention there is NO output on the serial monitor, which would mean thzn loop() is not even called? I suspect, your motor runs very fast and may generate too many interrupts which would prevent loop() from running.. Could you first try to add a delay in your loop (1 second would be fair) and see what happens?
|
|
| May 31, 2015 at 6:34 | comment | added | Adnan | i attached encoder`s channel A to digital Pin 2 on arduino which is interrupt 0. | |
| May 31, 2015 at 6:33 | comment | added | jfpoilpret | Can you clarify your wiring: which Arduino pin did you wire your encoder to? | |
| May 31, 2015 at 6:24 | comment | added | Adnan | it does not give any output in serial monitor @jfpoilpret | |
| May 31, 2015 at 6:19 | comment | added | jfpoilpret | You need to tell us more about: what currently happens with your program, what you would expect instead. | |
| May 31, 2015 at 5:40 | history | asked | Adnan | CC BY-SA 3.0 |