Closed xenocide702 closed 10 months ago
I'm not sure what's going on. A don't have a Pi Pico but tried Micropython with an ESP 8266 (Wemos D1 mini). I used your code without any modifications (only the import
s were needed). It works normally:
The bytes are exactly as yours:
At this point I'm out of ideas. The Update Rate
and Activate After
only set up the behavior of Failsafe when there's no serial signal. Maybe we'll need some way to debug if vjsf sees anything at all at the COM port although I don't see why it wouldn't.
vjsf doesn't implement any software flow control, does it?
Good to know the framing/checksum right at least, thanks for confirming that!
No, there's no flow control.
I apologize to anyone who stumbles across this with the same problem. I gave up and changed over to using an ESP32 and C++.
Thanks for Cleric-K for the support and the great software!
Sorry that it didn't work out for you. As said, your python code is just fine, it works perfectly on ESP8266. It would have been interesting to find out what the nature of the problem was but I'm at least glad that it works now on the ESP32.
If anyone else comes across this and has an idea I'm happy to try something. I sort of ran out of ideas and ran out of time to try different things, but I am still curious what's going on.
Hey guys, I'm attempting to roll my own controller built around a rpi pico board using micropython and communicating using the 2040's virtual COM port and IBUS. The arduino example code was very helpful and straightforward, but I must be missing something because I can't get it to connect to vJoySerialFeeder.
Looking at the output with realterm, it looks okay per the specs (I think?):![image](https://github.com/Cleric-K/vJoySerialFeeder/assets/1705912/17aa9c24-85a4-4f75-a76c-f0e524c3ed54)
(most of) the python code:
I think I've got vJoySerialFeeder set up properly:
![image](https://github.com/Cleric-K/vJoySerialFeeder/assets/1705912/9e598c74-5c54-4581-bfb9-bed96e881332)
I've tried messing around with the
Update Rate
andActivate After
settings (and most other settings too).I'm sure I'm missing something simple, I'd appreciate any insight you guys may have, thanks!