Shop OBEX P1 Docs P2 Docs Learn Events
Prop program acting up — Parallax Forums

Prop program acting up

msiriwardenamsiriwardena Posts: 301
edited 2012-08-11 13:13 in Propeller 1
I wrote this code sothat when the button is pressed repeatedly the digit display on the LCD reads from 0 to 8 and repets the same sequence.The Green and Red LED
connected serially so that green LED lights up whem the digit is 0-4 and RED led lights up from 5-8.
I have the circuitconnected to a Parallax SchmartBoard.

The code works as intended with LCD displaying correctly but as soon as I disconnect the USB connection to the SchmartBoard the LCD display shows gibberish, when I reconnect and reset the SchmartBoard it works well.
In other words the code works well as long as the USB connection to the computer remains connected.

I have no clue what this issue is?

Needs some assistance.

Siri

Comments

  • Duane DegnDuane Degn Posts: 10,588
    edited 2012-08-10 10:55
    The Propeller is likely resetting.

    See this thread's post #5 for the reason.
  • msiriwardenamsiriwardena Posts: 301
    edited 2012-08-11 13:13
    Duane Degn wrote: »
    The Propeller is likely resetting.

    See this thread's post #5 for the reason.

    Duane,
    I built the same circuit on a "Propeller Proto USB" board and ran the same code as before - Now it works well
    irrespective of whether the USB is connected to the computer or not.

    Thanks for you help

    Siri
Sign In or Register to comment.