PicBasic Pro program to demonstrate reading and writing the hardware serial port without HSERIN and HSEROUT. Defaults to 2400 bps. ' Name: USART.pbp ' Compiler: PICBASIC PRO Compiler 2.6 ' Assembler: PM or MPASM ' Target PIC: 16F, 18F with hardware USART ' Hardware: PC hardware serial port connection ' Oscillator: 4MHz external crystal or resonator ' Keywords: HARDWARE USART ' Description: PICBASIC PRO program to demonstrate reading & writing ' the hardware serial port without HSERIN/HSEROUT. Defaults to 2400 bps.
Home > BASIC Commands > Serial (RS232) Interfacing > serout > Name: serout. The serout command is used to transmit serial data from an output pin of the microcontroller. Copy Code Submit an Example. Submit Your Own Code! You must be logged in to submit code examples. Experimenting with the PicBasic Pro Compiler Programs- MULTILCD2.BAS&MULTILCD4.BAS Multiple Baud Serial LCD controller If, like me, you are fascinated by serial (RS232)communication, then this project is a must. The baud rates are selectable from 300 to 19200 and both inverted and non-inverted serial data is accepted. The circuit is, in.