Serial cummunication problem

when i use the serial to cummunicate with the cumputer,the value i get is not what i want.At first,the values in the serial receive buffer are the last time not pass through the serial when i closs the serial moniter.even if i use the function Serial.flush().
if anybody has the solution.Thanks. :slight_smile:

How to use this forum

Read this before posting a programming question