Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- struct OUTERDATA
- {
- unsigned int ID : 1; // x (0; 255)
- unsigned int Illumination : 15; // x (0 ; 32'767) lux
- unsigned int Humidity : 8; // x / 10 (0.0 ; 100.0) %
- unsigned int Temperature : 8; // x / 10 - 40 (-40.0 ; 62.4) C
- unsigned int Pressure : 8; // x + 300 (300 ; 1100) hPa
- unsigned int WindDirection : 8; // x / 100 (0.00 ; 6.28) rad
- unsigned int WindSpeed : 8; // x / 10 (0.0 ; 256) m/s
- unsigned int BatteryLevel : 8; // x / 10 (0.0 ; 100.0) %
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement