Skip to content

Latest commit

 

History

History
12 lines (9 loc) · 393 Bytes

README.md

File metadata and controls

12 lines (9 loc) · 393 Bytes

CO2-Sensor MH-Z19 connected to linux UART

A simple example for using the CO2-Sensor MH-Z19 connected to linux UART.

  • UART must be adapted, look for variable port_names in main.zig
  • zig build builds exe for the compiling pc
  • zig build rpi builds exe for Raspberry Pi / Debian

Known features:

  • timezone is Europe/Berlin only

Hints: Code is under contruction and will be changed!