![RAK WisBlock RAK13002 Скачать руководство пользователя страница 7](http://html1.mh-extra.com/html/rak/wisblock-rak13002/wisblock-rak13002_quick-start-manual_3508084007.webp)
Documentation Center
4. Then select the right Serial Port and upload the code, as shown in Figure 11 and Figure 12.
Figure 11: Selecting the correct Serial Port
#
include
LiquidCrystal_I2C
.
h
#
include
Wire
.
h
//initialize the liquid crystal library
//the first parameter is the I2C address
//the second parameter is how many rows are on your screen
//the third parameter is how many columns are on your screen
LiquidCrystal_I2C
lcd
(
0x27
,
16
,
2
);
void
setup
()
{
lcd
.
init
();
//initialize lcd screen
lcd
.
backlight
();
// turn on the backlight
}
void
loop
()
{
start_display
();
// star
delay
(
1000
);
//wait for a second
lcd
.
clear
();
// clear the LCD content
delay
(
1000
);
//wait for a second
}
void
start_display
(){
lcd
.
setCursor
(
0
,
0
);
// tell the screen to write on the top row
lcd
.
(
"RAK13002"
);
// tell the screen to write “RAK13002” on the top row
lcd
.
setCursor
(
0
,
1
);
// tell the screen to write on the bottom row
lcd
.
(
"EXAMPLE"
);
// tell the screen to write “EXAMPLE” on the bottom row
}
c
Содержание WisBlock RAK13002
Страница 11: ...Documentation Center Figure 16 Selecting RAK4631 as WisBlock Core Figure 17 Selecting RAK11200 as WisBlock Core...
Страница 16: ...Documentation Center Figure 23 Selecting RAK4631 as WisBlock Core Figure 24 Selecting RAK11200 as WisBlock Core...
Страница 19: ...Documentation Center Figure 28 FC 28 Soil Moisture Hygrometer data logs Last Updated 7 29 2022 10 17 19 PM...