We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi everybody,
I'm using an STR912 on the MCBSTR9 board from Keil. Programming is done in uVision with the RealView compiler.
For getting started I wanted to modify the blinky-example and read in one of the pins of port 3.
My code:
unsigned char status; GPIO3->DDR = 0x00; // port3 input status = GPIO3->DR[0x3fc]; // read whole port 3
This code is working perfectly for the LCD (as written in the blinky example). But whatever I connect to port 3, status will always be written with 0x00.
Can somebody tell me what's wrong?
Thanks and regards, Philipp
Line 17.
i make board same MCBSTR9. I test module lcd. i think my board is true. But lcd 'screen is no change.. can u help me...
"Line 17."
No, I don't think that's the real cause of his problem.
The error message to that will simply be:
C999:Error-Comment is missing or is misleading
He needs to look more closely at line 23.