Define LED_BUILTIN if not already defined in pins_arduino.h. (#67)
This commit is contained in:
committed by
Ivan Kravets
parent
3c1ace657d
commit
c0bdf20231
@@ -6,7 +6,10 @@
|
||||
|
||||
#include <Arduino.h>
|
||||
|
||||
#define LED_BUILTIN 13
|
||||
#ifndef LED_BUILTIN
|
||||
// Set LED_BUILTIN if it is not defined by Arduino framework
|
||||
#define LED_BUILTIN 13
|
||||
#endif
|
||||
|
||||
void setup()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user