SeanHowson
Member
Hi
i need a segment of code that will allow my 40X2 to respond to a serial input from another pic for example "244" and then output that same number to a position on a 20 x 4 OLED screen my only problem is the "bit in the middle" the transition stage between serin, and serout, ive tried equalling a given variable e.g. B0 to the serin value but i cant work out how i then get the value of that variable to work with the serout command, i tried simply putting the B0 after the baudmode in the serout command but i kept getting syntax errors,
all that should happen at the end is that the 40x2 will receive a number (representing your current speed) which i will then be output on a given position on the OLED screen (if you should post a snippet of code, the position is your choice)
any useful information will be greatly appriciated
kind regards
Sean
i need a segment of code that will allow my 40X2 to respond to a serial input from another pic for example "244" and then output that same number to a position on a 20 x 4 OLED screen my only problem is the "bit in the middle" the transition stage between serin, and serout, ive tried equalling a given variable e.g. B0 to the serin value but i cant work out how i then get the value of that variable to work with the serout command, i tried simply putting the B0 after the baudmode in the serout command but i kept getting syntax errors,
all that should happen at the end is that the 40x2 will receive a number (representing your current speed) which i will then be output on a given position on the OLED screen (if you should post a snippet of code, the position is your choice)
any useful information will be greatly appriciated
kind regards
Sean