![Waveshare XNUCLEO-F030R8 Скачать руководство пользователя страница 21](http://html1.mh-extra.com/html/waveshare/xnucleo-f030r8/xnucleo-f030r8_user-manual_3884129021.webp)
Xnucleo User Manual
21
V2.6.1, Apr. 25
th
2015
share awesome hardware
At the same time, relative data will be outputted:
/*----------------------*/
T: 23 C H: 34
D: 3868 A: 3.116 S: OFF
Rot: 227 SW: 52
R: 20 G: 6 B: 105
RTC: 12:1:4 KEY: 10
/*----------------------*/
4.2.2
THE MEANINGS OF THE RETURNED DATA
Table 13: The meanings of relative symbols
Symbol
Meanings
Remarks
T
Temperature
Unit: Degrees Celsius
H
Humility
Air humility percentage (%)
D
AD value
Voltage value in the format of 12 BIT. It can be converted to actual value by
linear transformation.
A
DA value
Voltage value
S
State
There are two states: ON and OFF
Rot
Rotation count
for rotation
encoder
For clockwise rotation, the counter value is incremented by 1; for anticlockwise
rotation, the counter value is decremented by 1. The count can be a minimum of
0 and maximum 255.
SW
Button press
count for
rotation
encoder
It supports single click, double click, long press and continued shot
R
Red value
Users can get the actual color on the basis of the RGB value. For more
information, please refer to Color Sensor User Manual
G
Green value
Users can get the actual color on the basis of the RGB value. For more
information, please refer to Color Sensor User Manual