Hi, I hope someone can help me: I have to output data (8 bit) to port 4 of MCU (I'm using a STuPSD3254A. I've proper configured pins and registers but how can put data in output? Bye!
P4= byte; :-) if you use UPSD.H header from ST P4_7 = bit; possible. if you use header from Keil, you must declare sbit my= P4^7; if you want to manipulate some pin on port4< like this: my = bit;
Thank you, even if after 5 minutes from posting I figured it out :-) (just read to fast the datasheets). Now I try and see with a logic state analyzer if everythink is ok. Bye!