I have made a small write up about how I handle debug prints on MySensors using a normal I/O pin.
If you too need to reclaim the Hardware Serial port, or just save a pin, feel free to use my idea
I have made a small write up about how I handle debug prints on MySensors using a normal I/O pin.
If you too need to reclaim the Hardware Serial port, or just save a pin, feel free to use my idea
Thank you so much, just the input I needed.
Works like a charm, I have included the output from the serial port, if any one else wonders what to expect.
__ __ ____
| \/ |_ _/ ___| ___ _ __ ___ ___ _ __ ___
| |\/| | | | \___ \ / _ \ `_ \/ __|/ _ \| `__/ __|
| | | | |_| |___| | __/ | | \__ \ _ | | \__ \
|_| |_|\__, |____/ \___|_| |_|___/\___/|_| |___/
|___/ 2.3.1
16 MCO:BGN:INIT NODE,CP=RSNNA---,REL=255,VER=2.3.1
26 MCO:BGN:BFR
before
ShuntCtrl
to clear EEPROM presss c now: 321
4156 TSM:INIT
4157 TSF:WUR:MS=1000
4159 TSM:INIT:TSP OK
4161 TSM:INIT:STATID=123
4163 TSF:SID:OK,ID=123
4165 TSM:FPAR
4184 TSF:MSG:SEND,123-123-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
5159 MCO:BGN:STP
setup
5161 !TSF:SND:TNR
6164 !TSF:SND:TNR
6192 !TSM:FPAR:NO REPLY
6194 TSM:FPAR
6211 TSF:MSG:SEND,123-123-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
7165 MCO:BGN:INIT OK,TSP=0
8288 !MCO:SND:NODE NOT REG
8372 !MCO:SND:NODE NOT REG
8455 !MCO:SND:NODE NOT REG
8539 !MCO:SND:NODE NOT REG
[ %0PH 18.8 Vejr 18.7 ] [ %16PC 18.6 ->25 18.4 ]
8636 !TSM:FPAR:NO REPLY
8638 TSM:FPAR
8656 TSF:MSG:SEND,123-123-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
[ %0PH 18.8 Vejr 18.7 ] [ %16PC 18.6 ->25 18.4 ]
11094 !TSM:FPAR:NO REPLY
11096 TSM:FPAR
11114 TSF:MSG:SEND,123-123-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
[ %0PH 18.8 Vejr 18.7 ] [ %16PC 18.6 ->25 18.4 ]
13550 !TSM:FPAR:FAIL
13552 TSM:FAIL:CNT=1
13554 TSM:FAIL:DIS
13556 TSF:TDI:TSL
[ %0PH 18.8 Vejr 18.7 ] [ %16PC 18.6 ->25 18.4 ]
[ %0PH 18.8 Vejr 18.7 ] [ %16PC 18.6 ->25 18.4 ]
[ %0PH 18.8 Vejr 18.7 ] [ %16PC 18.6 ->25 18.4 ]
[ %0PH 18.8 Vejr 18.7 ] [ %16PC 18.6 ->25 18.4 ]
23558 TSM:FAIL:RE-INIT
23560 TSM:INIT
23561 TSM:INIT:TSP OK
23563 TSM:INIT:STATID=123
23565 TSF:SID:OK,ID=123