some more documentation

This commit is contained in:
2020-08-14 19:55:40 +02:00
parent bc707b9235
commit 89d855627d

2
main.c
View File

@ -36,6 +36,8 @@
#define COMM_ENABLE_BIT BIT4
#define COMM_RESULT_BIT BIT2
// derived from the calculation in mbus-converter.ods
// assumes a 25Ohm shunt resistor and a 10mA swing
#define SPACE_MARK_THRESHOLD 100