UPB-CS-OpenSourceUpstream / libtock-rs

Rust userland library for Tock
Apache License 2.0
0 stars 12 forks source link

Humidity API #22

Open calex257 opened 1 year ago

calex257 commented 1 year ago

Heavily inspired from the work done here. I observed that the C implementation is similar to the one for temperature and this conversion should be compatible.

One thing to note is that in the C files the humidity is represented as an unsigned int, whereas in my conversion I left it as i32.