Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
9 years, 5 months ago.
Serial kl25z-labview
I am using the same .vi provided in the examples to read a constant value sent from frdm-kl25z. What is happening is I am getting the desired data on chart only for some time and suddenly some erroneous data appears and again the desired result appears...?? Please can you explain me what is happening??
I am attaching the image of the data observed on chart.. My mbed code for KL25Z is :
- include "mbed.h"
AnalogIn volt(PTB0); Serial pc(USBTX,USBRX);
int main() { int x; while(1) { x = 45 ; pc.printf("%d\n",x); wait(1); } }