Thanks a lot.
I got it running. I used your code which I severely trimmed for just the case of one breadboarded rotary encoder and I was able to change values in the game.
I had to download the SDK although I’m not sure if that is necessary. I couldn’t get it to work at first and then I decided to unplug and replug the usb cable after uploading the sketch. Then I hit start on the BitsandDroids application and then I was able to change in game values using the rotary encoder.
Next Step is to check If I can receive data from MSFS 2020. So far I don’t seem to need the 10 uf capacitor in the Documentation. Hope that doesn’t change with serial reading.
I’m glad that I don’t have to DFU and reflash the firmware to get the sketch running (just unplug and replug the usb cable). I had to reflash the original firmware each time for my ATS button box because the USB hid firmware does not allow uploading a sketch.
Thanks again,
Chris
@HappyScroll3 You wont need the MSFS SDK for this, SimConnect is default functionality.
The power cycling of the board is something you have to do frequently. I think the BitsAndDroids connector does not close ports correctly here. I have already forwarded that to the developer, he has a fix ready for the next version.
The 10uf only comes into play once you start receiving and it does not work on the DUE. Which Arduino are you using?