Exact match. Not showing close matches.
'[PIC]: FW: Ultra fast low res (or high res) PWMs'
Reset with correct tag DOH!
Forwarded from Scott Dattalo
> I'm currently not subscribed to the PIC list, but I browse the archives
> once a week or so. I saw your message and spent a moment to think of a
> very fast way to do PWM's:
> PWM_WIDTH EQU 3 ; 3-bit wide pwm's
movlw 1<<(8-PWM_WIDTH) ;The "lsb" of the PWM counter
addwf pwmcount,f ;Clear the outputs when
skpnc ;the master counter rolls
clrf outport,f ;over
addwf pwmset1,f ; PWM # 1
rlf temp,f ;Set the output when it
> ;rolls over
addwf pwmset2,f ; PWM # 2
rlf temp,w ;
http://www.piclist.com hint: PICList Posts must start with ONE topic:
[PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads
More... (looser matching)
- Last day of these posts
- In 2002
, 2003 only
- New search...