2. Visual Basic
O VB is a language programming OOP that
allows a simple form programming
through modules and objects.
O The interface with the user is intuitive and
easy to use, however it syntax is a little
more complex.
7. ELEMENTS OF MICROCHIP
FAMILY
O LIBRARIES HOW TIMERS.
O MODULES EUSART, USART,
O TABLE 2-13: SINGLE USART PERIPHERAL FUNCTIONS
O Function Description
O BusyUSART Is the USART transmitting?
O CloseUSART Disable the USART.
O DataRdyUSART Is data available in the USART read buffer?
O getcUSART Read a byte from the USART.
O getsUSART Read a string from the USART.
O OpenUSART Configure the USART.
O putcUSART Write a byte to the USART.
O putsUSART Write a string from data memory to the USART.
O putrsUSART Write a string from program memory to the USART.
O ReadUSART Read a byte from the USART.
O WriteUSART Write a byte to the USART.
O baudUSART Set the baud rate configuration bits for enhanced
USART
8. ELEMENTS OF MICROCHIP
FAMILY II
O Baud rate:
O USART_BRGH_HIGH High baud rate
O USART_BRGH_LOW Low baud rate
O USART_ASYNCH_MODE Asynchronous Mode
O USART_SYNCH_MODE Synchronous Mode
O Asynchronous mode, high speed:
O FOSC / (16 * (spbrg + 1))
O Asynchronous mode, low speed:
O FOSC / (64 * (spbrg + 1))
O Synchronous mode:
O FOSC / (4 * (spbrg + 1))
O Where FOSC is the oscillator frequency.