There are only 10 inputs, 12 outputs. So 0 to < 10
Printable View
Indeed. Assuming the bytes are back to back, which we hope to keep it like that.
2k1, would you happen to have a proto of the current, and new output? I'm assuming the 13 analog outs will simply stack in with the current ones, so that update will be simple; but as for the current digital in's... its at byte #33, starting with 1, or byte #32, starting with 0, correct? also, what is the format for the byte?
IE,
240(11110000, little endian) = all 4 digital inputs on, 0(00000000) = all 4 off?
15(00001111, little endian) = all 4 digital inputs on, 0(00000000) = all 4 off?
also, which bit corresponds to which input? I would assume that the 128 bit corresponds with the first digital input..
I would usually just do the whole trial and failure method, but I've got a couple of weeks before I get my testing brains in.
V/r,
SGT Michael J Cunningham
http://www.mp3car.com/vbulletin/docu...-protocol.html
Section 1.3.1
Yeah, 10 inputs, my bad. Must have been thinking of the outputs.
-Lance
This is PERFECT! I'm sorry, I missed this tutorial... I scanned through the list a couple of times, but leave it to me, to miss the very first tutorial =/
Also, sorry for Hi-jacking mx270a's thread,,, seemed like the most appropriate place to ask something like this.
And last but not least; For your information; I am working on a custom interface for my prelude, that controls a thing or 2... at the moment, it has 2x servo-controlled webcams, 6x servos to control the amps, and 2 servos for the A/C controls, which can all be controlled from my PSP. But, being that I'm currently in IRAQ, I figured it would be a good time to incorporate a bit of usefullness into the system, by adding a couple of Fusion Brains =)
Thanks again!
SGT Michael J Cunningham
Hi,
I have downloaded this example and i cannot get it to work. It always says no drivers installed or cannot locate dll file.
The only drivers i can install are the PIC drivers. I assume I need the ones that say Da Fusion, but these fail with the following error:-
The required section was not found in the .INF.
Please help, all I want to do is have drivers that work and a simple vb example.
Many thanks