11 years, 4 months ago.

c code for ADC conversion using mbed which will log the output via the mbed serial to a pc

Hello Guys

please am new to C programming and Mbed. Am asked to write a c-code for ADC conversion using Mbed, then log the output via the serial port to a PC. am to that using tera term also. The issue is that, the ADC works in two ways, when I turn a switch on (high), the high-pass filter (10KHz) is activated. But when the switch is off, the low-pass-filter (100Hz) is activated. both are connected to the adc. Also, am to log the output of the Mbed's adc to a pc via the serial port on Mbed and tera term. right now, am able to compile hello world on the mbed, then display it on tera -term window.

what i need now is the c-code to implement the above and any other advise is very welcome. Thanks in advance

2 Answers

10 years, 7 months ago.

hey the same thing is ben asked by my senior pls do helpout with what should be done....

10 years, 7 months ago.

Look into the temperature sensor code mbed.org website of the application board provided with the embed. That will help

hey nice u replied i am trying to take d output of 555timer and need to measure the ton and toff f the timer and calculate frequency....

posted by Ashok K 15 Apr 2014

thank zain .hope u give me some idea

posted by Ashok K 15 Apr 2014