Chat
Welcome to Flux
Treat Flux like your intern. Tell it what you'd like to build and it'll get to work. You can also ask it questions, brainstorm ideas, and teach it your preferences. Learn More
Table
| Net | MCU Pin | Direction | Firmware Function |
|---|---|---|---|
| BTN_ONOFF | RB0 | Input | Debounced manual ON/OFF button |
| BTN_MODE | RB1 | Input | Debounced local program/mode fallback |
| OPTICAL_PROG_IN | RB2 | Input | Active-low 40 kHz demodulated IR command input |
| MAINS_PRESENT | RB3 | Input | Isolated mains-present status |
| RELAY_FB | RB4 | Input | Optional auxiliary relay contact feedback |
| RELAY_SET | RC0 | Output | Pulse latching relay SET coil driver |
| RELAY_RESET | RC1 | Output | Pulse latching relay RESET coil driver |
| LED_POWER | RC2 | Output/PWM | PWM dimmed power/status LED sink |
| I2C_SCL | RC3 | I2C | Ambient light sensor clock |
| I2C_SDA | RC4 | I2C | Ambient light sensor data |
| LED_STATUS | RA1 | Output/PWM | Fault/status LED sink |
| TEMP_SENSE | RA0 | ADC | 10k NTC temperature divider |
| ICSPCLK | RB6 | Programming | PICkit ICSP clock |
| ICSPDAT | RB7 | Programming | PICkit ICSP data |
| MCLR_VPP | RE3/MCLR/VPP | Reset/programming | Reset and programming voltage |
MCU
Pin Map
Required Firmware Behaviors