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 all, I searched the forum before starting this thread, but I couldn't find a satifying answer to my question. here's my question: I'm using keil uVision2 and the EZ-USB FX dev kit. This kit has 6 IO ports on it. I want to assign a name to each pin of the IO ports. This is what I tried so far: ... #define D0 OUTB.0 main() { D0 = 1; } ... I get 2 errors: error C141: syntax error near '.0' error C213: left side of asn-op not an lvalue As far as I remember I used this code in a previous project, and it worked. But now it doesn't :( anyone who knows what goes wrong? kind regards, Chris
sbit