I'm a bit pissed. For the last month I've been trying (more or less once a week) to interface my ad converter with my laptop. Hardware is almost ready, but... my software isn't. The reason for this is Windows.
The user friendly interface of windows has some peculiarities when accessing ports. By default the direct reading and writing of ports is disabled. Meaning you cannot do bitbanging (= easiest way to read ad-chip data).
My idea was to use RTS (ready-to-send) and DTR (data-terminal-ready) to emulate the chips ...oh... SLCK (= something something clock) and the other line (Power on?)... I have to forgive me, this is the first time I am using this kind of chips. Unfortunately windows does not allow changing these up and down easilly (i.e. writing bits to serial ports registers).
There is a solution, however install some crappy tweakytweakies written in c#, visual basic etc... The problem is that I know nothing about c# or any other graphical windows programming language. Ordinary c with python user interface would've been my choice. So changing back to linux and those lovely inp() and outp().
It seems that linux is going to be my primary operating system for this project. My touchscreen doesn't have linux drivers though... hoping wine will manage this.
Monday, December 24, 2007
Subscribe to:
Posts (Atom)