dl9rdz / rdz_ttgo_sonde

259 stars 92 forks source link

Add NEXT and SCAN Buttons to the Livemap #377

Closed OK2MOP closed 5 months ago

OK2MOP commented 10 months ago

Hello, as I use ttgo-lora32 without any buttons remotely as stationary tracker, and sometimes want to quickly skip between the pre-defined QRHs - or on the other hand restart scan (as it gets stuck to a sonde which has already left the area for some reason even after some hours) - I found it cumbersome to switch from map to control and back to do so. This small patch to livemap.js adds buttons for next QRH and scan in bottom left corner of the map.

Of course due to the timing the display of label on top for QRH is not immediate, but this would need more significant changes to the code.

73, OK2MOP

73-de-LZ commented 9 months ago

Hello, You can try this mod, everything is described inside the archive, and it looks like this: Screenshot_20230828 Screenshot_20230903_041050_Chrome Screenshot_20230903_043351_Chrome

Blue Dot Mod

73!

hem0773 commented 6 months ago

I like it ! - A button and switching the LED output on/off wouldn't be bad, I connected a buzzer there

OK2MOP commented 5 months ago

Unfortunately, the control of GPIO pins is not part of the API unlike the scan buttons, you would have to modify the source code as well.