C Programming

From Mech
Revision as of 01:10, 30 November 2007 by LIMS (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

The following files supply simple examples of C programming, and describe the processes which are taking place. These can be copied into the Windows IDE and programmed into a PIC18F4520.

  1. Digital Inputs
  2. Digital Outputs, by pins, one bit
  3. Digital Outputs, by ports, 8 bits
  4. Analog Inputs
  5. Comparators
  6. PWM outputs, for motor control
  7. Bi-Directional PWM Motor Control
  8. Text output to a serial LCD display
  9. Text output to a parallel LCD display
  10. C Example: Analog Output by 8-bit DAC
  11. C Example: Analog Output by I2C
  12. C Example: Interrupt on Timer for servo cycle
  13. C Example: Interrupt on external event
  14. C Example: Counters for encoders
  15. C Example: Quadrature decoding
  16. C Example: Serial communication to a text window
  17. C Example: IR communication modulated at 38KHz
  18. C Example: Zigbee radio communication
Retrieved from "https://hades.mech.northwestern.edu//index.php?title=C_Programming&oldid=5529"

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

 
Powered by MediaWiki
  • This page was last edited on 30 November 2007, at 01:12.
  • This page has been accessed 93,829 times.
  • Privacy policy
  • About Mech
  • Disclaimers