News:

;) This forum is the property of Proton software developers

Main Menu

LCD not recognised by Positron 16

Started by charliecoutas, May 01, 2022, 02:03 PM

Previous topic - Next topic

charliecoutas

I am migrating a project from 18F26K22 to 24HJ128GP504

It's a perfectly normal 40x2 line LCD, this compiles in Positron8 but Positron16 gives error:

"Invalid or unrecognised LCD type"  Any ideas please?
 
     Device = 24HJ128GP504                                           
 
     Declare LCD_Type  0                                               
     Declare LCD_DTPin PORTB.0                                         
     Declare LCD_ENPin PORTB.4                                         
     Declare LCD_RSPin PORTB.5                                         
     Declare LCD_Interface 4                                           
     Declare LCD_Lines 2

Charlie     

Yasin

Declare LCD_Type AlphaThat's how it works.

charliecoutas