Operating system
Development tools
Security and connectivity
Important update: Arm Announces End of Life Timeline for Mbed. This site will be archived in July 2026. Read the full announcement.
Library for the AMS CC811 digitial gas sensor
Dependencies: AMS_ENS210_temp_humid_sensor
A boolean is not guaranteed to be either 0x00 or 0x01, it can have any other value. This holds true especially when the compiler starts optimizing. Therefore, a boolean should never be bitshifted, but instead you should act on its value.
This is a fix for a bug I encountered on actual hardware...
This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.