2011-11-09 52 views
2

私はEthernetシールド付きのArduinoを持っています。Arduino HTTPClientが動作しない

私はhttpclientライブラリを持っており、PachubeClientの例を実行しようとしています。

私はコンパイルすると、それは私に多くのエラーを与える:

PachubeClient.cpp:25:25: error: Credentials.h: No such file or directory 
PachubeClient.cpp: In function 'void setup()': 
PachubeClient:47: error: 'ssid' was not declared in this scope 
PachubeClient:47: error: 'passphrase' was not declared in this scope 
PachubeClient:55: error: a function-definition is not allowed here before '{' token 
PachubeClient:95: error: expected `}' at end of input 

なぜ?

+0

ここからPachubeClientコードを使用していますか?http://arduino.cc/en/Tutorial/PachubeCient? –

答えて

1

私はArduino開発環境で遊んでいませんが、エラーメッセージは、Credentials.hファイルが見つからないか、コンパイラが見つけられないことを意味します。ファイルが存在することを確認し、コンパイラの設定を確認して、ヘッダーファイルへのパスを渡していることを確認します。

関連する問題