Skip to main content
Arduino

Timeline for else if is ignored if not Serial.println anything before

Current License: CC BY-SA 4.0

8 events
when toggle format what by license comment
Aug 31, 2020 at 0:01 history bumped Community Bot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Jul 31, 2020 at 23:46 answer added Abel timeline score: 1
Jul 31, 2020 at 8:47 comment added XIII_ I've just found out that the character '2' literally is dropped, when I print out 'str' at the end of loop(). This only happens to '2', not any other character. So I will go with 'A_ON/OFF' and 'B_ON/OFF' as control strings and continue with my project. Still, this is no clean solution and I'd still like to know why this behavior is observed.
Jul 31, 2020 at 7:42 comment added XIII_ Tank you for reading, I've just added all of the code. Even though that was just the setup() and 4 defines.
Jul 31, 2020 at 7:40 history edited XIII_ CC BY-SA 4.0
added 725 characters in body
Jul 30, 2020 at 22:58 comment added Delta_G Post the whole code. I bet you have a memory overrun somewhere.
Jul 30, 2020 at 18:05 review First posts
Jul 31, 2020 at 3:00
Jul 30, 2020 at 18:03 history asked XIII_ CC BY-SA 4.0

AltStyle によって変換されたページ (->オリジナル) /