V Varunme Member Jan 8, 2012 #1 The below code for copying data from one port to another not working in proteus , what can be the reason ? void main() { trisd=0; trisc=0xff; portd=portc; }
The below code for copying data from one port to another not working in proteus , what can be the reason ? void main() { trisd=0; trisc=0xff; portd=portc; }
G Gobbledok Active Member Jan 8, 2012 #3 Nice, easy fix. Also, depending on which chip you are using, you should set the Latch resgisters instead of the port registers. LATD = PORTC;
Nice, easy fix. Also, depending on which chip you are using, you should set the Latch resgisters instead of the port registers. LATD = PORTC;