From db82449f830f76903ec46c4f79a61b453a7a686e Mon Sep 17 00:00:00 2001 From: lahouass Date: Thu, 16 Jan 2020 11:05:46 +0100 Subject: [PATCH] reception et affichage de données recues par l'Arduino --- rpiToArduino.py | 6 ++++++ 1 file changed, 6 insertions(+), 0 deletions(-) create mode 100644 rpiToArduino.py diff --git a/rpiToArduino.py b/rpiToArduino.py new file mode 100644 index 0000000..998c81e --- /dev/null +++ b/rpiToArduino.py @@ -0,0 +1,6 @@ +#!/usr/bin/env python + +import serial +ser = serial.Serial('/dev/ttyACM0, 9600); +while 1: + print(ser.readline()) \ No newline at end of file -- libgit2 0.21.2