Even if it's not important.. it could be interesting to have
Hardware and Software block definition
Same for all other function like DEBUG, HPWM, HSERIN....Code:' ' Lcd ' --- With LCD Data = PORTA,0 ' Set data pin of LCD to ' PORTA.0-PORTA.3 RS = PORTB,4 ' Set RS bit of LCD to ' PORTB.4 E = PORTB,5 ' Set E bit of LCD to ' PORTB.5 LINES = 4 ' 4 Lines LCD COMMANDUS = 2000 ' Command delay time in uSec DATAUS = 50 ' Data delay time in uSec EndWith
I/O Alias block
Variable type blockCode:Alias PORTA .0 = SCL .1 = SDA .2 = StatusLED EndAlias
Code:BYTE CounterA Discard BlahBlah EndBYTE




Bookmarks