Appiko
Macros
Bluey rev 1.1

The defines for the Bluey board 1.1 by Electonut. More...

Macros

#define DC_DC_CIRCUITRY   true
 Bool define if the circuitry is present for the internal DC-DC of nRF52.
 
#define NFC_CIRCUITRY   true
 Bool define if a NFC Antenna circuitry is present.
 
#define LFCLK_XTAL_PRESENT   true
 Bool define if the 32 kHz crystal is present for the LFCLK.
 
#define HFCLK_XTAL_PRESENT   true
 Bool define if a crystal is present for the HFCLK.
 
#define BOARD_LFCLKSRC_STRUCT
 

LED definitions for Bluey 1.1

Note
LED_1, LED_2 and LED_3 are defines of the RGB LED for compatibility with existing examples
#define LED_RED   19
 
#define LED_GREEN   18
 
#define LED_BLUE   17
 
#define LED_1   17
 
#define LED_2   18
 
#define LED_3   19
 
#define LEDS_ACTIVE_STATE   0
 

Button definitions for Bluey 1.1

#define BUTTON_1   16
 
#define BUTTONS_ACTIVE_STATE   0
 
#define BUTTON_PULL   NRF_GPIO_PIN_PULLUP
 

Serial port definitions for Bluey 1.1

#define RX_PIN_NUMBER   8
 
#define TX_PIN_NUMBER   6
 
#define CTS_PIN_NUMBER   7
 
#define RTS_PIN_NUMBER   5
 
#define HWFC   false
 

I2C pin defines for Bluey 1.1. The sensors present on the

I2C are a humidity and temperature sensor (HDC1010), ambient light sensor (APDS9300) and accelerometer-gyroscope sensor (LSM6DS3)

#define SDA_PIN   13
 
#define SCL_PIN   11
 

Humidity and temperature sensor HDC1010 defines for Bluey 1.1

#define HDC1010_DRDYN_PIN   12
 Data ready, active low pin.
 
#define HDC1010_ADRS   0x40
 

Ambient light sensor APDS9300 defines for Bluey 1.1

#define APDS9300_INT_PIN   14
 
#define APDS9300_ADRS   0x39
 

Accelerometer-gyroscope LSM6DS3 defines for Bluey 1.1

#define LSM6DS3_INT1_PIN   15
 
#define LSM6DS3_INT2_PIN   20
 
#define LSM6DS3_ADRS   0x6A
 

MicroSD card holder defines for Bluey 1.1

#define MICROSD_CS_PIN   22
 
#define MICROSD_DI_PIN   23
 
#define MICROSD_DO_PIN   24
 
#define MICROSD_CLK_PIN   25
 

Detailed Description

Macro Definition Documentation

◆ BOARD_LFCLKSRC_STRUCT

#define BOARD_LFCLKSRC_STRUCT
Value:
{.source = NRF_CLOCK_LF_SRC_XTAL, \
.rc_ctiv = 0, \
.rc_temp_ctiv = 0, \
.accuracy = NRF_CLOCK_LF_ACCURACY_20_PPM}

Low frequency clock source used when initializing the SoftDevice

Definition at line 122 of file bluey_1v1.h.

◆ BUTTON_PULL

#define BUTTON_PULL   NRF_GPIO_PIN_PULLUP

The kind of internal resistors required for the button

Definition at line 54 of file bluey_1v1.h.

◆ BUTTONS_ACTIVE_STATE

#define BUTTONS_ACTIVE_STATE   0

The input level when the button is pressed

Definition at line 52 of file bluey_1v1.h.

◆ HWFC

#define HWFC   false

Bool to say if the hardware flow control is required

Definition at line 65 of file bluey_1v1.h.

◆ LEDS_ACTIVE_STATE

#define LEDS_ACTIVE_STATE   0

The output level at which the LEDs shine

Definition at line 44 of file bluey_1v1.h.