Simulates a serial port that continuously sends dummy data for PM2.5 and PM10. It uses a pseudoterminal (pty) to simulate the serial port. Designed to provide dummy data in the absence of a sensor for air-quality-monitor
- Compile & start the program.
gcc -o dummy_serial main.c
./dummy_serial
- Start air-quality-monitor.
- Navigate to http://localhost:8080 and observe the chart.
This project is licensed under the GPL3 License. See LICENSE for more details.
PRs welcome.