BS2P40 not working correctly/consistently on PDB
WBA Consulting
Posts: 2,935
I am trying to move a project from a homework board to a PDB with a BS2P40. I can get everything to work right as long as I only use pins 0-7. If I try to make use of pins 8 and above, I get a lot of weird results: intermittent actions, non-responsive inputs, etc. I am trying to run the 7 segment LED projects in the Stampworks books but I can only get the first project (the single digit counter) to work. The clock project does not work at all. It acts as though it never sees the pulse from the generator even though I can pin it to an LED and watch it flash at 1Hz. I have tried reseating the IC, re-running my jumpers, even from scratch, playing with all sorts of things in the programs, etc to no avail. I am wondering if I have a problem with my PDB because the on board USB-serial adapter is not working either. I have to do all of this through the serial port. Any help/suggestions would be appreciated.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Andrew Williams
WBA Consulting
IT / Web / PCB / Audio
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Andrew Williams
WBA Consulting
IT / Web / PCB / Audio
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Andrew Williams
WBA Consulting
IT / Web / PCB / Audio
Also, I should mention the use of MAINIO and AUXIO as you may not have noticed that yet.
The AUX I/O pins X0 - X15 are also addressed just like the MAIN I/O pins so you would need to use the AUXIO command prior to commands using any of those pins.
For example -
HIGH 0 ' Main·pin P0
AUXIO ' Switch to aux
HIGH 0 '·Aux pin X0
MAINIO ' Switch back to main I/O
LOW 0· ' Main pin P0 again
Donnie
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Andrew Williams
WBA Consulting
IT / Web / PCB / Audio
·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Andrew Williams
WBA Consulting
IT / Web / PCB / Audio