I have got in a muddle trying to move a program from one chip onto another.
I built a project on the AXE50 board using 18M2 and It seemed simple to control outputs
The 7 segment LED is labelled 0-7 and High 0 lights the Top segment labelled 0, High 1 lights segment labelled 1 etc. 7 lights the decimal point.
High 0,1 makes both 0 and 1 light.
I can have a base 10 numbered loop
I am trying to extend to project using an 20M2 The LED is connected to the port C pins. I have found out C.6 is input only (I think I can get round that), but I can't see how to control the rest of the port C pins with a simple base 10 number loop? I am sure it is obvious. HertzHog
I built a project on the AXE50 board using 18M2 and It seemed simple to control outputs
The 7 segment LED is labelled 0-7 and High 0 lights the Top segment labelled 0, High 1 lights segment labelled 1 etc. 7 lights the decimal point.
High 0,1 makes both 0 and 1 light.
I can have a base 10 numbered loop
Code:
Let x= 0 to 7 step 1
high x ' That lights the segment x and it moves round the chip.
next