8 years ago.

AnalogIn pin number?

Dear I have used LPC800max . There , in function of "analogin" , always Pin number error occurs. This is from library For example, "A0","AIN0", ... are not correct.

How I do?

Best regards

1 Answer

8 years ago.

Hi Matsuda-san,

You can use following example code about analog input using the I2C expander chip on the LPC800-MAX board.

https://developer.mbed.org/users/embeddedartists/notebook/lpc812-max-experiment_analog-input/ https://developer.mbed.org/users/embeddedartists/code/lpc812_exp_solution_analog-in/

Analog pin names are defined as A0, A1... in the PCF8591 class.


Thank you for your answer. But, under trying , next problem had occurred. Using your file, I could do compile it. But, I had not known PC display. So, I installed "Tera term". But, I can not display " Hellow...." Win Config OK, Port is OK(Com9), . Your bin file is copyed ,drop into Mbed, and reset. But no display on screen./Best regards

posted by hiroyasu matsuda 22 Sep 2015

Hi Matsuda-san,

Did you install serial driver for Windows?


posted by Toyomasa Watarai 23 Sep 2015