Been trying to get this AVR (at90usb1286) based bit-banger to work, but I have no experience with python scripts. It is driving one of my pins high, even though in the C code for the AVR I have set that line to hold low....and I can't find what part of the script is doing it!
Basically, bit 7 on port B (so PB7) is being driven high as soon as I initialize the AVR with this python code. When I release the AVR from Python, the B7 port goes low again. If I don't initialize the script at all the line stays low, as it should. I can toggle the line with the C code, so I know that part is working. I need PB7 to be low at all times, all I need to do is find out what's controlling it in this script
If anyone has the will to look through this for me I would really appreciate the help! Been fiddling with things for days without any success.
Basically, bit 7 on port B (so PB7) is being driven high as soon as I initialize the AVR with this python code. When I release the AVR from Python, the B7 port goes low again. If I don't initialize the script at all the line stays low, as it should. I can toggle the line with the C code, so I know that part is working. I need PB7 to be low at all times, all I need to do is find out what's controlling it in this script
If anyone has the will to look through this for me I would really appreciate the help! Been fiddling with things for days without any success.