Drexel University

Mechanical Engineering and Mechanics
Special Topic: Autonomous Vehicle Control
Dr. Harry Kwatny

Monday, January 25, 2010

January 14, 2010

Successful in connecting and sending signals from netbook to vehicle via EmbeddedBlue.

Basic Spin code to effect blinking with variations in delay and frequency of blinking in Parallax's Propeller microcontroller. This is similar to Hello World.

Resource used: http://www.parallax.com/dl/docs/prod/prop/WebPM-v1.01.pdf

Code:
CON
  PIN           = 16
  DELAY         = 3_000_000

PUB toggle                                         
  dira[16]~~
  repeat
    !outa
[16]
    waitcnt(3_000_000 + cnt)

No comments: