![]() Use a feedback loop (connect serial port's 'out' pin with the 'in' pin) and hyperterminal (free prog that comes with windows) to test your computer's serial output before you try to connect to external electronics (like the PIC). Serial comunication can be annoying (custom cable connections, RS232 to TTL voltage levels, baud rates, etc). ![]() ![]() PicBasic Pro provides serial commands that read from (HSERIN) and write to. Using the Hardware Serial Port with PicBasic Pro. Note that in the above example, the control codes were written in hexidecimal. Connect the serial input of the LCD to PortB.0. This allows a serial port from any PC or another PIC to drive the LCD with a single. This comprehensive tutorial assumes no prior experience with PICBASIC.
0 Comments
Leave a Reply. |