Go Down

Topic: I Need Arduino Read Analog save empty array (Read 19 times) previous topic - next topic

mrgoktug

For Example:
void loop()
{   
 char list[128]={}; 
 ClockPulses();
  for (i = 0; i < 128; i ++)
  {
    analogReadResolution(12);
    CizgiArray = analogRead(INTVAL) ;
    list[CizgiArray]={} ;
    
    ClockPulse();
    Serial.print(list);
  }

This for loop read 128 Value need Save one by one empty array 
and write Serial.print 128 value.


In Arduino, 128 different values read in the loop will be written into the empty array.

‚Äč



UKHeliBob

Please follow the advice on posting code given in posting code

In particular note the advice to Auto format code in the IDE and to use code tags when posting code here as it prevents some combinations of characters in code being interpreted as HTML commands such as italics, bold or a smiley character, all of which render the code useless
Please do not send me PMs asking for help.  Post in the forum then everyone will benefit from seeing the questions and answers.

Go Up