Skip to main content
13 events
when toggle format what by license comment
Jun 13, 2020 at 16:32 vote accept GeorgeWTrump
Jun 13, 2020 at 16:29 history edited KIIV CC BY-SA 4.0
deleted 2 characters in body
Jun 13, 2020 at 16:23 comment added KIIV Let us continue this discussion in chat.
Jun 13, 2020 at 16:22 comment added GeorgeWTrump This is strange, I am not getting the same results as you, using your code? Are you using the Arduino IDE? Also, come to think of it, doesn't Arduino IDE use c++?
Jun 13, 2020 at 16:14 comment added KIIV @GeorgeWTrump I've added little bit simplified example but somehow working
Jun 13, 2020 at 16:12 history edited KIIV CC BY-SA 4.0
added 1446 characters in body
Jun 13, 2020 at 15:53 comment added KIIV Btw, it's not stucked, if you send for example a154, it'll set the first channel to 154, but it should be set once, you don't want to send it each loop. The same as you don't want to send output every loop interation
Jun 13, 2020 at 15:49 comment added GeorgeWTrump Well, if you would like to help further, I have edited the code so that it should follow the reccomendation you gave.
Jun 13, 2020 at 15:42 comment added KIIV You have to fix all of it including 'a', 'b', 'c', 'd'. But there might be another mistake, as the code cannot be compiled due to missing variables I was lazy to add up
Jun 13, 2020 at 15:38 comment added GeorgeWTrump Ah thank you, But by this logic, shouldn't turning [code]char x = "0"[/code] into [code]char x = '0'[/code] then fix the loop? If yes, then something else was also wrong with the loop, since it still is stuck at [code] Serial.println("X Equals:"); Serial.print(x);[/code]
Jun 13, 2020 at 15:37 history edited KIIV CC BY-SA 4.0
Removed full path for warnings/errors being more visible
Jun 13, 2020 at 15:30 history edited KIIV CC BY-SA 4.0
added 136 characters in body
Jun 13, 2020 at 15:24 history answered KIIV CC BY-SA 4.0