Difference between revisions of "Sample code for most PIC18F4520 operations"
From Mech
Jump to navigationJump to searchLine 1: | Line 1: | ||
These will/should also have wiki pages for background and associated electronics: |
|||
<li> [http://129.105.69.13/pic/CodeSamples/DigitalIO Digital input and output bit-by-bit or byte-by-byte] |
<li> [http://129.105.69.13/pic/CodeSamples/DigitalIO Digital input and output bit-by-bit or byte-by-byte] |
||
<li> [http://129.105.69.13/pic/CodeSamples/AnalogInput Reading up to twelve Analog Inputs] |
<li> [http://129.105.69.13/pic/CodeSamples/AnalogInput Reading up to twelve Analog Inputs] |
||
Line 12: | Line 13: | ||
<li> [http://129.105.69.13/pic/CodeSamples/QuadratureSoft Quadrature decoder/counter in software for arbitarily many encoders; 1KHz max] |
<li> [http://129.105.69.13/pic/CodeSamples/QuadratureSoft Quadrature decoder/counter in software for arbitarily many encoders; 1KHz max] |
||
<li> [http://129.105.69.13/pic/CodeSamples/QuadratureHard Quadrature decoder/counter in hardware for one fast encoder; Timers 0 and 1] |
<li> [http://129.105.69.13/pic/CodeSamples/QuadratureHard Quadrature decoder/counter in hardware for one fast encoder; Timers 0 and 1] |
||
Not available yet: |
|||
<li> [http://129.105.69.13/pic/CodeSamples/AnalogOutputParallel Analog output using 8 digital lines] |
<li> [http://129.105.69.13/pic/CodeSamples/AnalogOutputParallel Analog output using 8 digital lines] |
||
<li> [http://129.105.69.13/pic/CodeSamples/AnalogOutputI2C Analog output using I2C serial] |
<li> [http://129.105.69.13/pic/CodeSamples/AnalogOutputI2C Analog output using I2C serial] |
||
<li> Printing to a serial LCD |
|||
<li> Printing to a parallel LCD |
|||
<li> PIC-to-PIC communication |
|||
<li> Zigbee radio communication |
|||
<li> Modulated IR communication |
|||
<li> Strobing LEDs or IREDs for better range and immunity to background light |
|||
<li> I2C communication |
|||
<li> CAN bus |
|||
<li> Capturing data to Matlab |
|||
<li> Running stepper motors |
Revision as of 13:41, 19 December 2007
These will/should also have wiki pages for background and associated electronics: