问: 我的代码中看起来没有什么问题,为什么会出现 error: stray '\' in program 这种错误。
答:这种错误一般是由于代码中无法转义,不可见的字符,大多是网路上粘贴来的代码中带有全角字符。建议粘贴到notepad++中,UTF8,C语言格式看一下,有没有特殊字符。然后再copy到arduino IDE中。
LM358 Features:
Large dc voltage gain: 100 dB
Wide bandwidth: 1 MHz
Wide power supply range:
— Single supply: 3V to 32V
— or dual supplies: ±1.5V to ±16V
Very low supply current drain (500 μA)—essentially
independent of supply voltage
Low input offset voltage: 2 mV
Input common-mode voltage range includes ground
Differential input voltage range equal to the power supply voltage
Large output voltage swing: 0V to V+− 1.5V
LMV358 Features
Guaranteed 2.7V and 5V Performance
No Crossover Distortion
Gain-Bandwidth Product 1MHz
Low Supply Current:LMV358 210μA
Rail-to-Rail Output Swing @10kΩ
V+ −10mV
V− +65mV
VCM −0.2V to V+−0.8V