Problem with the Digital I/O board
supercool
Posts: 2
Hey guys what's up? This is my first post in the forums... I've been having a strange little problem getting reliable inputs from the digital I/O boards. I modified the "DIOB Serial Test V1.0" to work on the BS2p 40-pin chip with 2 I/O boards attached on pins 0-7. So far so good, everything works great EXCEPT when relay# 8 is activated in the Out_595 subroutine, it disables all inputs until relay#8 is deactivated!
Is there something wrong with my board, my code, my HEAD???
Code is attached. It's just a simple test of the I/O boards that cycles a single relay on both boards simultaneously from right to left, taking 200 samples from the inputs per cycle. The reason for the 200 samples
is the following:
200 = 20 X 10. The 20 is really there just to produce a pause so the cycling doesn't go too fast. The 10 samples are used to get a reliable input reading from a 60Hz 24VAC transformer signal input, which is
the type of input I am interested in reading (HVAC)
any insights and input you have is appreciated!
Is there something wrong with my board, my code, my HEAD???
Code is attached. It's just a simple test of the I/O boards that cycles a single relay on both boards simultaneously from right to left, taking 200 samples from the inputs per cycle. The reason for the 200 samples
is the following:
200 = 20 X 10. The 20 is really there just to produce a pause so the cycling doesn't go too fast. The 10 samples are used to get a reliable input reading from a 60Hz 24VAC transformer signal input, which is
the type of input I am interested in reading (HVAC)
any insights and input you have is appreciated!
Comments