2017-05-06から1日間の記事一覧
基本形。ほんとに単純化した者。 pythonのコードを記載しておく。Arduinoは方位センサを使っている。 pip install pyserialして import serial import re def main(): with serial.Serial('COM3',9600,timeout=1) as ser: while True: c = ser.readline() de…
基本形。ほんとに単純化した者。 pythonのコードを記載しておく。Arduinoは方位センサを使っている。 pip install pyserialして import serial import re def main(): with serial.Serial('COM3',9600,timeout=1) as ser: while True: c = ser.readline() de…