only 1 input working
1taz
Posts: 2
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
' {$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
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
' {$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
Comments
'
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.