I am not familiar with programming microprocessor and I need help.
I need code for 8051 (40 Pin DIP) so I can do this:
In the beginning P0.0/P0.1/P0.2/P0.3 are =0
After 1 min P0.0 become 1/
After 2 min P0.0=1 and P0.1=1/
After 6 min
P0.0=1 and P0.1=1 and P0.2=1/
After 7 min P0.0=0 and P0.1=0 and
P0.2=0 and P0.3=1/
After 8 min P0.0=0 and P0.1=0 and P0.2=1 and
After 9 min P0.0=0 and P0.1=1 and P0.2=1 and P0.3=1/
After 10 min
P0.0=1 and P0.1=1 and P0.2=1 and P0.3=0 and stay like that until I reset 8051.
In same time I receive signal on other port (0 or 1) and I want to send received data
Thru serial port (RS232)(Baud rate: 9600 etc-standard for PC RS232).
Code can be written in Assembly or C or Matlab.
Valerij Ojdanic[email protected]