Control motor

Thread Starter

pat33

Joined Jul 27, 2014
2
Hello,
I would like to control a little motor supply: 5 volt 400hz by a PIC 18F4550
Is it possible to do that ?
Thanks for your help
Have nice sunday
Pat
 

Thread Starter

pat33

Joined Jul 27, 2014
2
Thanks Max, I try this code ...but doesn' work :mad:

Device = 18F4550
Declare XTAL = 8
Declare CCP2_PIN PORTC.1

test:

HPWM 1,127,0400

GoTo test
 
Top