Olimex Development prototype board for 40 pin PIC microcontrollers PIC-P40-20MHz PIC-P40-20MHz 用户手册

产品代码
PIC-P40-20MHz
下载
页码 8
SOFTWARE:
DEMO1:    
PIC16F877-I/P
 
      
 
 BLINK LED
 
 
This is demo code which blinks the LED on PIC-P40 board.
Note:
LED jumper should be closed!
DEMO2:    
PIC16F877-I/P
 
      
 
 BUTTON read
 
 
This is demo code which show how to read BUTTON status and to switch
the LED ON when button is pressed and LED off when the button is
depressed.
DEMO3:    
PIC16F877-I/P
 
      
 
 RS232 send / receive routines
 
 
This is demo code, which show how to use the USART to send and receive
characters from host PC via RS232 cable.
The MAX232 by default is not connected to PIC on the board so you have to
solder two wires – one from RC6 (pin #25) of PIC16F877 Tx signal to
MAX232 Rx labeled pin, and second from RC7 (pin #26) of PIC16F877 Rx
signal to MAX232 Tx labeled pin.
You must program the HEX code to PIC16F877 and run the code.
If you programmed the PIC correctly and wired the UART, when you open
Hyperterminal on your host PC computer with 9600 bps, 8 data bit, 1 stop
bit, No flow control and apply power supply to the PIC-P40 every character
you type on the hyperterminal will be printed back with “*” i.e. if you type
“abc” you will receive “a*b*c*”.
Page 6