mirror of
https://github.com/liberatedsystems/RNode_Firmware_CE.git
synced 2025-05-02 14:46:16 -04:00
Work on LoRa32 compatibility
This commit is contained in:
parent
2e613d9f67
commit
6fe250aca7
3 changed files with 53 additions and 0 deletions
10
Utilities.h
10
Utilities.h
|
@ -41,6 +41,16 @@ uint8_t boot_vector = 0x00;
|
|||
void led_rx_off() { digitalWrite(pin_led_rx, LOW); }
|
||||
void led_tx_on() { digitalWrite(pin_led_tx, LOW); }
|
||||
void led_tx_off() { digitalWrite(pin_led_tx, HIGH); }
|
||||
#elif BOARD_MODEL == BOARD_LORA32_V2_0
|
||||
// void led_rx_on() { digitalWrite(pin_led_rx, HIGH); }
|
||||
// void led_rx_off() { digitalWrite(pin_led_rx, LOW); }
|
||||
// void led_tx_on() { digitalWrite(pin_led_tx, LOW); }
|
||||
// void led_tx_off() { digitalWrite(pin_led_tx, HIGH); }
|
||||
#elif BOARD_MODEL == BOARD_LORA32_V2_1
|
||||
void led_rx_on() { digitalWrite(pin_led_rx, HIGH); }
|
||||
void led_rx_off() { digitalWrite(pin_led_rx, LOW); }
|
||||
void led_tx_on() { digitalWrite(pin_led_tx, LOW); }
|
||||
void led_tx_off() { digitalWrite(pin_led_tx, HIGH); }
|
||||
#elif BOARD_MODEL == BOARD_HUZZAH32
|
||||
void led_rx_on() { digitalWrite(pin_led_rx, HIGH); }
|
||||
void led_rx_off() { digitalWrite(pin_led_rx, LOW); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue