14m, 7 outputs, one command

boriz

Senior Member
Using a 14m, is there a single command that will set the state of 7 outputs (8, even better).?

PINS will only set 6. Perhaps a POKE can do it?

I know I can do it with two commands, but I need speed.
 

Dippy

Moderator
I haven't looked in detail, but the 14m (16F684) has the outputs over ports A and C, therefore a single POKE couldn't do it.

I may have wrong end of stick so first check th Microchip data sheet, that might make thing clearer.
 

hippy

Ex-Staff (retired)
No, there's no way to set the standard outputs and those Port C pins used as outputs with one command.
 

Technical

Technical Support
Staff member
Yes, 18Ms have 8 outputs too. We suggested the 20M as it is the same layout as your 14M - just longer!
 
Top