P8X32A Accessing the DIP Pins.
I'm trying to light up LED's on a breadboard, but can't apply power to the J1-J40 Pins. Using the High() function i can set pins on the chip, but I can't access the J Pins this way.
Anyone Have a solution? In C, I have no experience in STAMP.
http://www.parallax.com/sites/default/files/downloads/40000-P8X32A-QuickStart-Doc-v1.0.pdf
Anyone Have a solution? In C, I have no experience in STAMP.
http://www.parallax.com/sites/default/files/downloads/40000-P8X32A-QuickStart-Doc-v1.0.pdf

Comments
welcome to the forums.
unfortunately i am not sure what you are asking. i read the pdf at the link.
perhaps you could explain further including posting your code.
its best to go to the advanced section for this. you can enclose your code between <code> and </code> tags where < and > are replaced with the squarebrackets. alternatively zip up you files and attach them.
I am using the P8X32A device first of all. Now using this PDF guide; on the last page there is a diagram that shows the device blueprint. The top rectangle area labeled J1 is the area where you can connect components (LEDs). The Product Page shows the actual device.
I have an LED light connected in the J I/O pins locations 1 and 2. Now i need to active these two pin locations to give power to LED so it lights up.
I activate one of the builtin LEDS (p22).
#include "simpletools.h" int main(void) { while(1) { high(22); } return 0; }Resources:
http://www.parallax.com/sites/default/files/downloads/40000-P8X32A-QuickStart-Doc-v1.0.pdf
http://www.parallax.com/product/40000\
#include "simpletools.h" int main(void) { while(1) { high(0); low(1) } return 0; }Have you a resistor in serie with the LED? Depending on the forward voltage of the LED you need a resistor of 50..200 Ohm to limit the current through the LED. Maybe you need to swap the High on Low on the pins, if the LED is connected in reverse.Andy
Thanks a lot everyone, after swapping around the LED Ariba's code worked for me.
If you solder a socket or three there you can use a jumper wire to your breadboard for the ground (or low) leg of your led circuit. That way you only have to go high on the one pin.
BTW I replied to your other post as to the touch pads