After spending 3 hours trying to get this code to work I tought it would be a could idea to see if anyone could help me here. I tried following howtomechatronics tutorial on how to make a robotic arm and I managed to get the hole hardware part done but unfortunately the code doesn’t work. The tutorial was made for using an HC05 bluetooth module and I use an HC06 module. I tried changing the code for it to adapt to the HC06 module but I cannot manage to do so. The arm just starts shaking when I change the values on the mit app inventor app.nI will include the code for the HC05 module and then the code I tried to modify. I would really appreciate if someone could help me.
Thanks in advance.
Here is the link to the website with the default code