David, I tried that and here are the actual error messages. Any thoughts?=20 Anyone else? hFunctions.h:269: error: (255) not a member of the struct/union "" hFunctions.h:269: error: (182) illegal conversion between types Thanks, rich! On 10/22/2015 5:59 PM, David Duffy (AVD) wrote: > 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 Richard R. Pope President Reedsburg Area Model Railroad Club, RAMRC 1230 19th Street #5 Reedsburg, WI 53959 608-768-7448 mechanic_2@charter.net --=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 .