python code to access hardware.
Moderators: snarkout, Patrick, dann
-
davijordan
python code to access hardware.
Is there code for python to pull or send bitwise data to either the parallel or joystick ports?
like this?
There's also one for the serial port.
My 5 minute google search didn't find anything useful for the joystick port, except that it should be doable, at least on linux. My python skills are probably not quite up to it though.
There's also one for the serial port.
My 5 minute google search didn't find anything useful for the joystick port, except that it should be doable, at least on linux. My python skills are probably not quite up to it though.
you mention joystick are you writing a game? I am sure pygame has something so you can work with joysticks and stuff
http://www.pygame.org
http://www.pygame.org
Арте́льный горшо́к гу́ще кипи́т
Working as a team produces better results
Russian Proverb
Working as a team produces better results
Russian Proverb
-
davijordan
Re: python code to access hardware.
Thanks for the link. At this point, all we are trying to do is to be able to use all ports possible for not only access to digital and analog data but to be able to control the ports via a scripting language. I have the last batch of parts on order for our project. Once I get those, it will be time to start building interfaces and testing.