September 22, 2005

I got three Microcontrollers (great).

 Chris explained how to do the programming and with his help I got it to work. 

– Thanks.

Here’s the code:

DEFINE OSC 4 ‘oscillator (clock)

OUTPUT portd.0

OUTPUT portd.1

Main:

HIGH portd.0

PAUSE 1000 ‘millisecond = 1 sec.

LOW portd.0

PAUSE 100 ‘this is a shorter pause

HIGH portd.1

PAUSE 100

LOW portd.1

PAUSE 100

GOTO main

Looking at those two blinking light bulbs is great. I am starting to get ideas. Enclose is a drawing of the set up on the breadboard:

For image see Journal:

============================


Page last modified December 19, 2005, at 04:36 PM