It complains about Sbit.. It does not recognize it..
The sbit statement is an intrinsic macro from KEIL compiler used for bit mapping, not a C standard compatible command available for other compilers.
+++
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
It complains about Sbit.. It does not recognize it..
#define LCD_RS (GPIO_PORTA_DATA_R << 7)
Yout LCD_DATA if defined like this16: error: lvalue required as left operand of assignment
[cc] LCD_EN = 1;
^
INT32U LCD_DATA = GPIO_PORTB_DATA_R;
error: initializer element is not constant
[cc] INT32U LCD_DATA = GPIO_PORTB_DATA_R;
^
Code C - [expand] 1#define LCD_RS, LCD_RW, LCD_EN
Code C - [expand] 1#define LCD_PORT ...