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.. /media/uploads/shannu/dbt.jpg My mbed code for KL25Z is :

  1. 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); } }

Question relating to:

Be the first to answer this question.