|
楼主 |
发表于 2-6-2006 10:55 AM
|
显示全部楼层
DEFINE OSC 4
DEFINE LCD_DREG PORTB
DEFINE LCD_DBIT 4
DEFINE LCD_RSREG PORTA
DEFINE LCD_RSBIT 4
DEFINE LCD_EREG PORTA
DEFINE LCD_EBIT 3
DEFINE LCD_BITS 4
DEFINE LCD_LINES 2
DEFINE LCD_COMMANDUS 2000
DEFINE LCD_DATAUS 50
LCDOut $FE, 1
LCDOut $FE,$40
LCDOut $04,$0E,$04,$04,$0A,$15,$0A,$15
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
这个是我的PIC basic code,不能的
有什么错?
[ 本帖最后由 ychenfei 于 2-6-2006 12:14 PM 编辑 ] |
|