You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm having problems when compiling the slave board.
I to go to config.h and define slave, and the errors i get are related to some identifiers being undefined because only being defined if master.
Or,
Are we supposed to use master in both boards?
The text was updated successfully, but these errors were encountered:
I use the same code in both boards.
I didn't think I still had and MASTER/SLAVE defines in there. I guess I need to check, and eliminate them.
So.. leave MASTER defined and load up both modules with the same code.
Thanks for the reply, then it makes a lot more sense.
Btw, since you use the same firmware on both, I assume it doesn't matter in which board you connect the Bluetooth module.
Or is it advised to be used on one of the boards in specific?
Since the code that receives a drive command will use the first speed for its motor and send the second speed to the other side. One of these will be negated so if you put the Bluetooth on the slave, the speeds will be assigned to the wrong sides, so the board will run in the opposite direction.
I'm having problems when compiling the slave board.
I to go to config.h and define slave, and the errors i get are related to some identifiers being undefined because only being defined if master.
Or,
Are we supposed to use master in both boards?
The text was updated successfully, but these errors were encountered: