
エントリーの編集

エントリーの編集は全ユーザーに共通の機能です。
必ずガイドラインを一読の上ご利用ください。
記事へのコメント1件
- 注目コメント
- 新着コメント
注目コメント算出アルゴリズムの一部にLINEヤフー株式会社の「建設的コメント順位付けモデルAPI」を使用しています

- バナー広告なし
- ミュート機能あり
- ダークモード搭載
関連記事
Python AttributeError: 'module' object has no attribute 'Serial' - Stack Overflow
I'm trying to access a serial port with Python 2.6 on my Raspberry Pi running Debian. My script n... I'm trying to access a serial port with Python 2.6 on my Raspberry Pi running Debian. My script named serial.py tries to import pySerial: import serial ser = serial.Serial('/dev/ttyAMA0', 9600) ser.write("hello world!") For some reason it refuses to establish the serial connection with this error: AttributeError: 'module' object has no attribute 'Serial' When I try to type the same code in the int
2014/08/23 リンク