Shop OBEX P1 Docs P2 Docs Learn Events
only 1 input working — Parallax Forums

only 1 input working

1taz1taz Posts: 2
edited 2012-02-08 18:48 in BASIC Stamp
Hello i'm new to this forum
I have been woking with OEM board for somtime and all has been work grait then all of a suden i broght it out to play with all i have is 1 input on pin 2. I can run this Progran to any PIN 0-15 and the only PIN that works is #2.
I dont know if I popped somthing or what! I did try another EEPROM 24lc68 and a Microchip pic16c57c-20/p but still nothing all outputs do work it is very strange i checked & replaced battery also.. Here is the code i have been using all i have been changing is the HIGH to what ever PIN #.

Im trying to build a solar tracker for my set-up going to use transistors in place of LEDs to start relays for tilting motors
I got it figured out, I have been foretting to also change RCTIME ?, 1, time when I change the High pin!!!
Thanks for any & all the help



image002.jpg


image002.jpg
' {$STAMP BS2}
' {$PBASIC 2.5}
time VAR Word
DO
HIGH 2
PAUSE 1000
RCTIME 2, 1, time
DEBUG HOME, "time = ", DEC5 time
IF time<=1000-900 THEN HIGH 14 "yellow LED"
IF time>= 1200 THEN LOW 14
IF time>= 1200 THEN HIGH 15 "red LED"
IF time<=1000 THEN LOW 15

LOOP

CAN you help me if i popped a transistor or somthing otherwise i will have to start all over buying another board??

thanks
1taz
595 x 340 - 25K

Comments

  • $WMc%$WMc% Posts: 1,884
    edited 2012-02-08 18:48
    Are you sending a 5volt reg voltage to the Vdd?
    '
    OR
    '
    A voltage to the Vin+ pin? (you need 6volts or more)
    '
    I would use 6volts+ at Vin. on the OEM board.
    '
    Don't try both.
Sign In or Register to comment.