Commit db82449f830f76903ec46c4f79a61b453a7a686e

Authored by lahouass
1 parent 770e8ca9

reception et affichage de données recues par l'Arduino

Showing 1 changed file with 6 additions and 0 deletions   Show diff stats
rpiToArduino.py 0 → 100644
... ... @@ -0,0 +1,6 @@
  1 +#!/usr/bin/env python
  2 +
  3 +import serial
  4 +ser = serial.Serial('/dev/ttyACM0, 9600);
  5 +while 1:
  6 + print(ser.readline())
0 7 \ No newline at end of file
... ...