LoPy/LoP4 LED board definition corrected
This commit is contained in:
		
							parent
							
								
									3552f05409
								
							
						
					
					
						commit
						92487febc0
					
				| @ -5,7 +5,7 @@ | |||||||
| #define DISABLE_BROWNOUT 1 // comment out if you want to keep brownout feature
 | #define DISABLE_BROWNOUT 1 // comment out if you want to keep brownout feature
 | ||||||
| 
 | 
 | ||||||
| #define HAS_DISPLAY U8X8_SSD1306_128X64_NONAME_HW_I2C // OLED-Display on board
 | #define HAS_DISPLAY U8X8_SSD1306_128X64_NONAME_HW_I2C // OLED-Display on board
 | ||||||
| #define HAS_LED NOT_A_PIN // Led os on same pin than Lora SS pin, to avoid pb, we don't use it
 | #define HAS_LED NOT_A_PIN // Led os on same pin as Lora SS pin, to avoid problems, we don't use it
 | ||||||
| #define LED_ACTIVE_LOW 1  // Onboard LED is active when pin is LOW
 | #define LED_ACTIVE_LOW 1  // Onboard LED is active when pin is LOW
 | ||||||
|                           // Anyway shield is on over the LoLin32 board, so we won't be able to see this LED
 |                           // Anyway shield is on over the LoLin32 board, so we won't be able to see this LED
 | ||||||
| #define HAS_RGB_LED   13  // ESP32 GPIO13 (pin13) On Board Shield WS2812B RGB LED
 | #define HAS_RGB_LED   13  // ESP32 GPIO13 (pin13) On Board Shield WS2812B RGB LED
 | ||||||
|  | |||||||
| @ -1,7 +1,7 @@ | |||||||
| // Hardware related definitions for Pycom LoPy Board (not: LoPy4)
 | // Hardware related definitions for Pycom LoPy Board (not: LoPy4)
 | ||||||
| 
 | 
 | ||||||
| #define CFG_sx1272_radio 1 | #define CFG_sx1272_radio 1 | ||||||
| #define HAS_LED NOT_A_PIN // we use RGB LED on LoPy
 | #define HAS_LED NOT_A_PIN // LoPy4 has no on board LED, so we use RGB LED on LoPy4
 | ||||||
| #define HAS_RGB_LED   0  // WS2812B RGB LED on GPIO0
 | #define HAS_RGB_LED   0  // WS2812B RGB LED on GPIO0
 | ||||||
| 
 | 
 | ||||||
| // Hardware pin definitions for Pycom LoPy board
 | // Hardware pin definitions for Pycom LoPy board
 | ||||||
|  | |||||||
| @ -1,7 +1,7 @@ | |||||||
| // Hardware related definitions for Pycom LoPy Board (not: LoPy4)
 | // Hardware related definitions for Pycom LoPy Board (not: LoPy4)
 | ||||||
| 
 | 
 | ||||||
| #define CFG_sx1276_radio 1 | #define CFG_sx1276_radio 1 | ||||||
| #define HAS_LED NOT_A_PIN // we use RGB LED on LoPy4
 | #define HAS_LED NOT_A_PIN // LoPy4 has no on board LED, so we use RGB LED on LoPy4
 | ||||||
| #define HAS_RGB_LED   0  // WS2812B RGB LED on GPIO0
 | #define HAS_RGB_LED   0  // WS2812B RGB LED on GPIO0
 | ||||||
| 
 | 
 | ||||||
| // Hardware pin definitions for Pycom LoPy4 board
 | // Hardware pin definitions for Pycom LoPy4 board
 | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user