Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Homepage
LPC1114FN28 のDigitalOut設定について¶
LPC1114Fn28では、dp5,dp27はDigitalOut 設定出来ませんでした。
この端子はI2Cと共用しているので、これが関係していると思われます。
131005修正
dp5,dp27の出力設定は出来ました。
ただし、この2つの端子はopen drainになっています。
データシートhttp://www.nxp.com/documents/data_sheet/LPC111X.pdf
p.23/118 Table7 PIO0_5/SDA, PIO0_4/SCL の項目参照
このため、端子から電流を流し出すことが出来ません。
LEDを接続する場合には、
電源 - LED - R - dp5 or dp27
としないと点灯しません。
dp5,dp27以外の端子は、
電源 - LED - R - dpx
dpx - LED - R - GND
のどちらの接続方法でも点灯可能です。