Home
Waveshare
Motherboard
NRF52840
Page 26
Waveshare NRF52840 - Page 26
72 pages
Manual
Save Page as PDF
To Next Page
To Next Page
To Previous Page
To Previous Page
Loading...
NRF52840 Eval Kit User Manual
Vision: V1.0.1 Date: 2019
.01.
19
26
/
72
{
printf
(
"\r\n LED2 ON \r\n"
);
LED_On
(
LED2
);
break
;
}
case
'6'
:
{
printf
(
"\r\n LED2 OFF \r\n"
);
LED_Off
(
LED2
);
break
;
}
case
'7'
:
{
printf
(
"\r\n LED3 ON \r\n"
);
LED_On
(
LED3
);
break
;
}
case
'8'
:
{
printf
(
"\r\n LED3 OFF \r\n"
);
LED_Off
(
LED3
);
break
;
}
case
'q'
:
{
printf
(
"\r\n Exit! \r\n"
);
while
(
true
);
}
case
'Q'
:
{
printf
(
"\r\n Exit! \r\n"
);
while
(
true
);
}
default
:
{
printf
(
"\r\nPlease input correct command\r\n"
);
break
;
}
}
}
}
25
27
Table of Contents
Main Page
Default Chapter
2
Table of Contents
2
Chapter 1. Overview
5
What's on Board
5
Chapter 2. Setup Developing Environment
7
Install Keil and Related Pack
7
Install SEGGER Embedded Studio for ARM 4.10A
7
Serial Driver Install
7
Install Jlink Driver
8
Install Nrfx-Command-Line-Tools
9
Install APP
9
Peripherals Demo
10
Hardware Connection
10
Download Samples Without Softdevice
11
Download Samples with Softdevoce
13
Chapter 3. Creating New Project
15
Project Template
15
Create a New Project
16
Chapter 4. Controling LED
20
Codes
20
Hardware Connection
21
Chapter 5. UART
23
Codes
23
Hardware
27
Chapter 6. SPI
29
Loopback Testing
29
Drive OLED
30
Hardware
31
Chapter 7. I2C
33
Scanning Slave Devices
33
Read Data from BME280
33
Read Data from MPU6050
37
Hardware
38
Chapter 8. NFC
41
Codes
41
Hardware
43
Chapter 9. Bluetooth
44
Preparation
44
Install Softdevice
44
Bluetooth Serial Transparent
44
Bluetooth against Losing
47
Bluetooth Beacon (Support Wechat Shake)
49
Wireless Mouse
52
Wireless Keyboard
53
Cscs
55
Bluetooth Master- Cardiotachometer
56
Master-Slaver-BLE Relay
58
Chapter 10. MESH
62