gitea cannot render the code embedded

This commit is contained in:
simonox 2023-02-19 16:59:19 +01:00
parent a1e6b528b9
commit 1060ba1f7c
1 changed files with 6 additions and 2 deletions

View File

@ -1,6 +1,10 @@
# Energy Monitor
Our energy monitor is based on the openenergymonitor.org project (Licence GNU GPL V3). It uses our HelTec Wireless Stick. Power Measurement is done by a SCT013 clamp (100A:50mA).
Our energy monitor is based on the openenergymonitor.org project (Licence GNU GPL V3).
It uses our HelTec Wireless Stick. This - of course - can be replaced by a cheaper ESP32 module.
Power Measurement is done by a SCT013 clamp (100A:50mA).
## Used materials
@ -63,7 +67,7 @@ See the Fritzing file for [details](./energy-monitor/energy-monitor.fzz).
Start with a simple code that just prints the values. The code is quite simple, as we can use the existing *[EmonLib libary V1.1.0 by OpenEnergyMonitor](https://docs.openenergymonitor.org/electricity-monitoring/ct-sensors/)*.
[code](https://code.curious.bio/curious.bio/iot-platform/src/commit/ecf0b3ee63c9d3d49bcf32a7da9bde64a6a62c28/software/firmware/energy-montior/energy-monitor/energy-monitor.ino)
[Check out the small amount of code to print the values to serial out.](https://code.curious.bio/curious.bio/iot-platform/src/commit/ecf0b3ee63c9d3d49bcf32a7da9bde64a6a62c28/software/firmware/energy-montior/energy-monitor/energy-monitor.ino)
The only interesting part is this line: