mikroBASIC
- Basic Compiler for Microchip PIC microcontrollers
program lcd18
dim text as char[16]
main:
TRISB = 0
' designate portb as output
Lcd_Init(PORTB)
' initialize LCD at portb
Lcd_Cmd(portb, LCD_CURSOR_OFF)
' turn off cursor
text = "mikroElektronika"
LCD_Out(PORTB, 1, 1, text)
' print text at LCD
end.
Figure: LCD HW connection
MikroElektronika:
Development
tools
-
Books
-
Compilers
mikroBASIC
making it simple...
147
page
Example
Commentaires sur ces manuels