I got a couple of RF modules from Rentron to experiment with.
I'm using debug on the transmit side to send the data.
The problem is it will send the data to the LCD and display it momentarily then continue sending garbage to the LCD.
I know I need some kind of software filtering but I don't know where to start.
Any examples would be appreciated.
Here is what I'm sending directly to the transmitter:
On the receiving end here is how it is being received then sent to a 4x20 serial LCD:Code:debug $FE,$1 pause 100 debug $FE,$80+0,"PV volts: ",$FE,$80+13,dec(PV/10),".",dec(PV//10)," " debug $FE, $C0, "Batt volts: ",$FE,$C0+13,dec(Batt/10),".",dec(Batt//10)," " debug $FE, $94, "Batt Curr: ",$FE,$94+13,dec(gridcurr/10),".",dec(gridcurr//10)," " debug $FE, $D4, "Grid Curr: ",$FE,$D4+13,dec(battcurr/10),".",dec(battcurr//10)," "
Edit/Delete MessageCode:mainloop: Serin rcv, mode, char ' Get a char from serial input Lcdout char ' Send char to display Goto mainloop End




Bookmarks