Difference between revisions of "Sample code for most PIC18F4520 operations"
From Mech
Jump to navigationJump to searchLine 1: | Line 1: | ||
[http://129.105.69.13/pic/CodeSamples/AnalogInput Reading Analog Inputs] |
[http://129.105.69.13/pic/CodeSamples/AnalogInput Reading Analog Inputs] |
||
[http://129.105.69.13/pic/CodeSamples/Counter0 Counting pulses with Timer0] |
|||
[http://129.105.69.13/pic/CodeSamples/Counter1 Counting pulses with Timer1] |
|||
[http://129.105.69.13/pic/CodeSamples/DigitalIO Digital input and output bit-by-bit or byte-by-byte] |
|||
[http://129.105.69.13/pic/CodeSamples/Interrupt0 Timed servo cycles using interrupt routines; slow with 9 periods] |
|||
[http://129.105.69.13/pic/CodeSamples/Interrupt2 Timed servo cycles using interrupt routines; fast with many periods] |
|||
[http://129.105.69.13/pic/CodeSamples/InterruptExternal Interrupts generated by an external pulse] |
|||
[http://129.105.69.13/pic/CodeSamples/Watchdog Watchdog timer in the event software fails] |
Revision as of 21:39, 17 December 2007
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; slow with 9 periods Timed servo cycles using interrupt routines; fast with many periods Interrupts generated by an external pulse Watchdog timer in the event software fails