OpenShock / Firmware

Espressif Firmware for OpenShock, Controlling shock collars via Reverse engineered proprietary Sub-1 GHz Protocols.
GNU Affero General Public License v3.0
31 stars 11 forks source link

RGB Support plus OpenShock Core V1 board definition #121

Closed nullstalgia closed 10 months ago

nullstalgia commented 10 months ago

Includes building binaries for my board!

https://github.com/nullstalgia/OpenShock-Hardware/tree/main/Core

<3

Tweaks to Visual State Manager:

LED during boot is now 3 -> 2 -> 1

3 blinks - WiFi not yet connected 2 blinks - Not yet connected to API 1 blink - All Clear!

When you have GPIO LED + RGB, the GPIO LED is relegated to a simple "All Clear" LED, so we can use RGB for more complex stuff down the line (I plan on adding RF output blinks to the LEDs eventually).

nullstalgia commented 10 months ago

So, we seem to have (mostly?) mitigated the RGB crashing on ESP32-S3 boards. But there has not been enough testing, especially for base ESP32 (dual core) and ESP32-C (single core!!) chips.

If there are issues with those, we should consider exploring the RMT Hub option we discussed earlier.

(Also yay I figured out how to get around the issues for my board for now.)

Otherwise, good to go!