I'm going to be posting a series of library units for PIC Micro Pascal. Some of these are simply extensions of existing stock units, while others are entirely new. Be sure to enter a comment or question if anything is unclear to you.
I'll also include demo programs from time to time so you can see them at work.
If it isn't clear, you should be storing these in the COMMON directory of your PMP IDE folder structure. That way, they will be found by PMP when you compile a program.
Also keep in mind that I have tested these library units only on a few PIC devices. If you notice any anomalies with the chips you use, be sure to make suggestions for improvements, or at least report any problems you ran into. The goal, of course, is to make universal library units fit for all!
One last thing: I've included necessary units in all of the exercises. But you will always find the most up-to-date version in this section. So consider this the central location for finding library units to add to your installation.
- Discrete LEDs
- Dot/Bar LEDs
- Matrix LEDs
- 7-Seg LEDs
- Serial -- Software
- Serial -- Hardware
- RS-232 via the MAX3232
- I2C -- EEPROM
- I2C -- DS1307 Real Time Clock
- 1-Wire -- DS18B20, Powered, Single-Drop
- 1-Wire -- DS18B20, Powered, Multi-Drop
- 1-Wire -- DS18B20, Parasitic, Multi-Drop
- TI Link Protocol -- Calculator Demo
- Infrared Communication
- MIDI -- Output Demo
- MIDI -- Input Demo
- MIDI to Analog Synth