Open stefanfobos opened 5 years ago
Mixing the files from the API with the normal code is not a good idea. They share some files, but might rely on different versions.
Make sure to also clone the subrepositories when you clone into the hoverboard firmware. (see README)
Setting the control Method to USART2 is correct, it should then work with the Arduino Samples.
Thank you for your reply. I've cloned it ok, but got another question. How to correctly choose PPM control? can't compile it. it says #error SERIAL_USART2_IT not allowed, cable already in use. i've already commented adc control and everything that might intersect with PPM control.
Haven't used PPM in a along time together with this fork.
Might be neccessary to fix some things. Make sure to define a new CONTROL_TYPE or set it to 0
#define CONTROL_TYPE 0
Hi there, I was trying to control the board with 3.3 v arudino, but it didnt work at all. These are steps , that i've done:
ifndef CONTROL_TYPE
define CONTROL_TYPE HOVERBOARD_WITH_SOFTWARE_SERIAL_B2_C9
endif
or comment everything in the top and only leave neccesary ? P.S sorry for my eng.