mirror of
https://github.com/oliverschmidt/contiki.git
synced 2025-01-10 11:29:38 +00:00
78b6b50194
When using this code: (int8_t)tmp102_read_temp_x100() / 100 Only the first value is casted into a int8_t type. tmp102_read_temp_x100() returns the temperature in Celcius * 100. Most of the time this value will be lower than -2^7 and higher than 2^7 (+/- 1.27°C). The cast is not needed but a comment about this implicit cast has been added.
Using the Z1 starter platform (Z1SP) ============================================ To enable the Z1SP components, you should include in your application Makefile the ZOLERTIA_Z1SP flag set to 1, see "examples/z1/Makefile". For Z1SP specific information please go to: http://zolertia.sourceforge.net/wiki/index.php/Mainpage:z1sp