NetBurner 3.5.6
PDF Version
LED_functions.h
1
/*NB_REVISION*/
2
3
/*NB_COPYRIGHT*/
4
5
#include <
cpu_pins.h
>
6
#include <pinconstant.h>
7
#include <basictypes.h>
8
9
#define LED1_1 PortI[5]
10
#define LED1_2 PortI[7]
11
12
#define LED2_1 PortH[0]
13
#define LED2_2 PortI[4]
14
15
#define LED_OFF (0)
16
#define LED_COLOR_RED (1)
17
#define LED_COLOR_GREEN (2)
18
19
void
setLEDColor(uint8_t number, uint8_t color);
20
void
turnLEDsOff();
cpu_pins.h
NetBurner PinIO for ARM MIMXRT10xx (SOMRT1061)