1 に答える
ここで答えを見つけました: https://electronics.stackexchange.com/questions/29240/arduino-uno-ethernet-shield-16x2-lcd-not-initializing
@ben as per the page here, the comment by user "njohnson" states that the shield uses all the digital pins except 1,2 and 8. based on this i tried hooking up the lcd to the 6 analog pins (as outputs) and its working fine now. Now the question is where/how can i study the shield schematic to be sure what all pins can i use. On a side now, it seems an unusual design decision since using the shield means sacrificing 13 of the digital pins ! – Ankit Apr 3 '12 at 21:14
解決
LCD ピンをアナログ ピン (14 ~ 19) に移動しました。
コードの変更
それに応じて、LCD 画面のピンを変更LiquidCrystal lcd(7, 8, 9, 10, 11, 12);
して移動します。LiquidCrystal lcd(19, 18, 17, 16, 15, 14);