###前提・実現したいこと
Visual Studio2015でpythonを使いリモートコンピュータで動く
ラズパイ向けのプログラムを組んでいます。
テンプレートはBackgroundApplication(.NETCore)を使っています。
GPIOをインポートで使用可能にしようとしたところ、
windows10である作業用PCにはRPiパッケージが導入されてないみたいで
GPIOが使えない状況です
windows環境のpythonでラズパイのGPIOを使用可能にするには
どのようにすればよろしいでしょうか。
ご教示お願いします。
###発生している問題・エラーメッセージ
重大度レベル コード 説明 プロジェクト ファイル 行 抑制状態
警告 Unable to resolve "RPi.GPIO".
The completion DB for the active environment needs to be refreshed,
and IntelliSense may be missing until that has completed.
See the Python Environments window for details. C:\Users\TeamE001\Documents\Visual Studio 2015\Projects\BackgroundApplication4\BackgroundApplication4\StartupTask.py 9
###該当のソースコード
def reading(sensor):
import time
import RPi.GPIO as GPIO
↑ここのRPi.GPIOでunkownエラー
###試したこと
linux環境で動くパッケージを導入しようとしました
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2016/12/06 02:07