
Originally Posted by
flotulopex
I've attached two pictures about what I can see.
The first picture "Before Loop Start" shows that my PORTA.0 to 3 are set to "1". This is because I need them to be at this state before the main loop starts (driving CA Leds).
I did the same for PORTA.6 (=1) just for testing purpose. PORTA.6 will be used for something else in my program if I can handle the actual problem.
When I start the execution of the program, PORTA.6 goes to "0" witch is unwanted here.
Mister_E you're right, using DCD will modify all ports.... Was not a good idea on my side. Thank you for making me aware.
Bookmarks