Posted: 02:57pm 02 Feb 2024 |
|
|
|
I cannot get serial comms to work on the picomite, the picomite is set up on a pico res touch from waveshare, I am sending serial data from a small picaxe board that sends text at 1200 baud this is working because I can receive the text via a ttl to usb converter on the MM edit terminal, I am using this code. Currently the picomite is in a breadboard for trouble shooting.
do SETPIN GP5, GP4, COM2 ' OPEN "COM2:1200" AS #5 ' dat$ = INPUT$(1, #5) ' print "data" print dat$ print loc(#5) CLOSE #5 ' close the serial port pause 100 loop
loc(#5) returns 0, so no data in the buffer. |