After updating Devia Board with V6 Arduino code App stops working…
Hi, The Devia Board bought with the Slider kit came with an older version. I have recently printed the v2.1 parts and updated to the newest Arduino code. I can connect to the WIFI network now called AI-THINKER-xxxxxx but the app can no longer control the slider.
Also, after the first Devia board M2 connector pins ripped of with the cable supplied with the kit (where I had to change the code to use M3) I fear on the second board I have purchased from you, even though I was extra careful, the M2 connectors are also coming loose…
Bad charge of boards?
(original order email is different from the email used in the board, as I was not able to register with the Email I used to order…)
removed the Serial1.flush(); and code finally ran. But as I suspected, M2 pins are loose…. Now both boards I Devia boards I have purchased don’t have working M2 pins. Given that I don’t seem to be the only one, this clearly seems to be a production issue…
Now I need to figure out how to switch Camera slider code to use M3 as well. 🙁
Ok, changed M2 to M3
//REG_PORT_OUTSET0 = PORT_PA21; // STEP Motor2
REG_PORT_OUTSET0 = PORT_PA07; // STEP Motor2
position_M2 += dir_M2;
//REG_PORT_OUTCLR0 = PORT_PA21; // STEP Motor2
REG_PORT_OUTCLR0 = PORT_PA07; // STEP Motor2
But still very disappointed by the quality of the Devia boards. by just pulling off the cables M2 pins came of on both boards 🙁
@janbee i have the same issue with the M2 connector, I tried to repair it but it didn’t work…. and bought another board 🙁
thanks for the “Serial1.flush()” Tip 🙂