你的浏览器版本过低,可能导致网站不能正常访问!为了你能正常使用网站功能,请使用这些浏览器。
举报
adersonl 发表于 2015-1-10 12:43 楼主打算用MBED做开发吗?
xyc2690 发表于 2015-1-10 19:44 mbed还是不完善,下载程序是蛮方便的,程序复杂了感觉用起来就很不方便。。 ...
Vincent_Zhang 发表于 2015-3-11 01:11 并且现在发现nucleo L053R8 AnalogIn有bug
mben 手册在这里:
http://developer.mbed.org/handbook/Homepage
与ADC 相关的:
http://developer.mbed.org/handbook/AnalogIn
要点:
AnalogIn (PinName pin)
Create an AnalogIn , connected to the specified pin.
float read ()
Read the input voltage, represented as a float in the range [0.0, 1.0].
unsigned short read_u16 ()
Read the input voltage, represented as an unsigned short in the range [0x0, 0xFFFF].
打算先用用试试看,能用到什么程度还不知道。
说的在理,我先玩点简单的,摸索点经验
的确,感觉读到的数值不对