Lab 4 was simple.

SOUND

This PIC code made a sound that I should not have had my headphones in my ears for:

DEFINE OSC 4
output portc.0
high portc.0
pause 2000
low portc.0
main:
freqout portd.2, 500, 700 _> ' portd.2 500ms 700Hz
GOTO main

PWM

I did single color LED PWM for the project 1 prototype and some RGB LEDs? are in the mail (very exciting).


Page last modified March 05, 2006, at 06:32 PM