Surely you want LATAbits.LAT0 (or whatever bit number you need)? David... On 23/10/2015 8:41 AM, Richard R. Pope wrote: > Hello all, > The LCD initializes fine but I can't get it to accept data. > Commands work such as move the cursor or clear. I have tried LATA.F0 and > so but I get a struct required error message. The command #define > LCD_Data LATD works fine. But #define LCD_rs or just rs LATA.F0 won't > work. Any ideas. > Thanks, > rich! --=20 ___________________________________________ David Duffy Audio Visual Devices P/L Unit 8, 10 Hook St, Capalaba 4157 Australia Ph: +61 7 38235717 Fax: +61 7 38234717 Our Web Site: www.audiovisualdevices.com.au ___________________________________________ --=20 http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .