This is incorrect in the help file:
Example: #DEFINE LCD_IO 4 #DEFINE LCD_SPEED OPTIMAL #DEFINE LCD_DB7 PORTB.5 #DEFINE LCD_DB6 PORTB.4 #DEFINE LCD_DB7 PORTB.3 #DEFINE LCD_DB6 PORTB.2 #DEFINE LCD_RW PORTA.3 'Must be defined for RW Mode #DEFINE LCD_RS PORTA,2 #DEFINE LCD_ENABLE PORTA.1
It should be more like:
Example: #DEFINE LCD_IO 4 #DEFINE LCD_SPEED OPTIMAL #DEFINE LCD_DB7 PORTB.5 #DEFINE LCD_DB6 PORTB.4 #DEFINE LCD_DB5 PORTB.3 #DEFINE LCD_DB4 PORTB.2 #DEFINE LCD_RW PORTA.3 'Must be defined for RW Mode #DEFINE LCD_RS PORTA,2 #DEFINE LCD_ENABLE PORTA.1
Later, Clint
@ckoehn
Help me spot the different.... there is a typo! Which page in the Help ?
LCD_DB6 and LCD_DB7 are duplicated, and there is no LCD_DB4 or LCD_DB5.
#DEFINE **LCD_DB7** PORTB.5 #DEFINE LCD_DB6 PORTB.4 #DEFINE **LCD_DB7** PORTB.3 #DEFINE LCD_DB6 PORTB.2
Thank you.
Sorted. Update on in all versions.
Whilst you are at it this also looks wrong:
#DEFINE LCD_RS PORTA,2
shouldn't that , be a . ?
Good spot. I found other ocurrances of the same error. All sorted.
Log in to post a comment.
This is incorrect in the help file:
It should be more like:
Later,
Clint
@ckoehn
Help me spot the different.... there is a typo! Which page in the Help ?
LCD_DB6 and LCD_DB7 are duplicated, and there is no LCD_DB4 or LCD_DB5.
Later,
Clint
Thank you.
Sorted. Update on in all versions.
Whilst you are at it this also looks wrong:
shouldn't that , be a . ?
Good spot. I found other ocurrances of the same error. All sorted.
Thank you.