View Single Post
Old 07-02-2008, 11:39 AM   #51 (permalink)
n8thegr8
EcoModding Lurker
 
Join Date: Jun 2008
Location: USA
Posts: 32

N8sPony - '98 Ford Mustang
Thanks: 0
Thanked 0 Times in 0 Posts
cool, i pm'd you my email. I also think I have the read input figured out! the arduino has a pulsein() function that returns how many microseconds a digital pin is held high for. I'm storing these times in an array, which I'm then converting those times to binary values, and then converting to hex, at which point I pull the necessary bytes for the calculations, lol, lots of conversions going on. I'm just hoping the poor little arduino will be able to take it without tanking on me. I really need to get a serial adapter for my laptop so I don't have to take it inside everytime I make a code change.

UPDATE: I got everything narrowed down, logic looks good and it compiles cleanly now after several modifications! I'm going to send it to the board tomorrow and test it in the car. I'm not exactly confident with my method, and I think it'll take a LOT of serial console debugging, but I kinda just want to see how the arduino handles it. I'll check it into the repository when I'm more confident with it.


Last edited by n8thegr8; 07-04-2008 at 01:02 AM..
  Reply With Quote