Initializing Labโฆ
Universal Firmware Setup
Firmware ยท Universal USB + ESP32 BLE
// PSA Universal Firmware // One sketch for Arduino Uno/Nano, NodeMCU (ESP8266), and ESP32 // // USB Serial support on all boards: // PING // SET:PIN:VALUE // SERVO:PIN:ANGLE // PWM:PIN:VALUE // BUZZER:0|1 // DATA:d=...,l=...,ir=...,t=...,s=...,b=... // // ESP32 also enables BLE NUS + JSON automatically. // BLE headers are excluded on Uno and ESP8266.
Full sketch is available from the copy button above. It compiles serial mode on Uno and ESP8266, and adds BLE automatically on ESP32.
// BLE NUS + JSON short-keys firmware // Same sketch also enables BLE automatically on ESP32. // PSA Universal Firmware // One sketch for Arduino Uno/Nano, NodeMCU (ESP8266), and ESP32 // // USB Serial support on all boards: // PING // SET:PIN:VALUE // SERVO:PIN:ANGLE // PWM:PIN:VALUE // BUZZER:0|1 // DATA:d=...,l=...,ir=...,t=...,s=...,b=... // // ESP32 also enables BLE NUS + JSON automatically. // BLE headers are excluded on Uno and ESP8266.
Use the PSA Universal Firmware for Arduino USB projects. It also adds BLE only when compiled for ESP32.
LIVE = output in this project + pin mapped + kit linked. ON/OFF is drive state (Wizard may only write one asset). IDLE = catalog slot not in the project. Shared pins show CONFLICT.
USB Serial ยท WiFi replies