2020-02-26, 03:34 AM
(2020-02-25, 09:24 PM)ironman Wrote:Yes it probably works. You didn't correctly use the server but I am not sure the bell code is functioning?(2020-02-25, 08:17 PM)seandepagnier Wrote: Yes, I have a python script that works with micropython and can set and retrieve values from pypilot as well as read from gpio.
But if that code works with micropython, then you can probably use this on your ECD https://github.com/marcobergman/pypilot_...ter/ray.py with some changes. It emulates the original raymarine button functionality, adding a bit more functionality to adjust gains while in operation. You can remove the 'bell' and 'remote' code.
I am more interested in having a wireless remote with small lcd display, but it could beep also.
Quote:The raymarine-style functionality distinguishes between 'auto' (=compass) and 'track' (=gps) modes, making it possible to choose between the two modes at your descretion. I had to make some modifications to the pypilot code to make this work. I have not documented these modifications yet, but if you are going to reuse this codeWhat did you need to change? It should be possible to change the mode.