Members Login
Username 
 
Password 
    Remember Me  
Post Info TOPIC: need some guidance on pulling usable data


Member

Status: Offline
Posts: 5
Date:
need some guidance on pulling usable data


Alright so, i've identified I/O pins on my ECU directly, using a microcontroller to try and stream the data into something usable. Trouble is, and likely as a result of the over-simplified code i'm using, i can't seem to get the whole file. I'm trying to read the ecu data files. I've managed to pull some data via serial ports, but i can only seem to pull what appears either a 0, or a 3 digit INT. It only streams a single value even though i have the read programmed into a loop. Here is the basic C code, any ideas? I'm kind of throwing science at a wall here trying to figure this out.  Low-level coding and interfaces are a bit of a weak area for me right now

void loop() {

  // read the data

  if(Serial1.available() >0){

    Serial.println(Serial1.read());

   

 

}

 



__________________
Page 1 of 1  sorted by
 
Quick Reply

Please log in to post quick replies.

Tweet this page Post to Digg Post to Del.icio.us


Create your own FREE Forum
Report Abuse
Powered by ActiveBoard