Peek and Poke
Posted: Sun May 08, 2016 5:42 pm
Hi I am processing smartmeter information ant posting to thingspeak. For ease of use I would like to use and inverted RX signal. The smartmeter provides an inverted 5v signal, easily scaled down to 3,3V using 2 resistors, but inverting this signal would need a transistor of FET. Some digging in the registers show the possibility to switch on an internal inverter for most UART signals. The serial commands do not allow for an inverted RX signal. So an old fashioned peek and poke statement would allow me to set the internal registers to my liking.
http://bbs.espressif.com/download/file.php?id=615 see line 61 ...
Greetings,
Pierre
http://bbs.espressif.com/download/file.php?id=615 see line 61 ...
Greetings,
Pierre