Sample code for most PIC18F4520 operations
From Mech
Revision as of 12:30, 18 December 2007 by
LIMS
(
talk
|
contribs
)
(
diff
)
← Older revision
|
Latest revision
(
diff
) |
Newer revision →
(
diff
)
Jump to navigation
Jump to search
Reading Analog Inputs
Counting pulses with Timer0
Counting pulses with Timer1
Digital input and output bit-by-bit or byte-by-byte
Timed servo cycles using interrupt routines; Timer 0; slow
Timed servo cycles using interrupt routines; Timer 2; fast
Interrupts generated by an external pulse
PWM outputs for torque control of one or two DC motors
PWM output for position control of up to four RC servos
Quadrature decoder/counter in software; slow; many
Quadrature decoder/counter in hardware; fast; just one
Navigation menu
Page actions
Page
Discussion
View source
History
Page actions
Page
Discussion
More
Tools
In other languages
Personal tools
Log in
Navigation
Main Page
Recent changes
Help
Lab Inventory
File List
Most Popular Pages
Tools
What links here
Related changes
Special pages
Printable version
Permanent link
Page information
Search