From 76a1f6ce7a8d91225db61e4512f50befe2ffee1a Mon Sep 17 00:00:00 2001 From: Tim Binder Date: Fri, 4 Sep 2015 22:43:36 +0200 Subject: [PATCH] working dimm code; Added Description to Readme File; --- README.md | 4 ++++ .../arduino_homerrr_dimmWorking.ino | 0 2 files changed, 4 insertions(+) rename arduino/arduino_homerrr/{ => arduino_homerrr_dimmWorking}/arduino_homerrr_dimmWorking.ino (100%) diff --git a/README.md b/README.md index bb62161..96fe5a3 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,10 @@ find the right serial port with the arduino ide. At the bottom right is written port your arduino is connected. In my case it was "/dev/cu.usbmodem1421" for mac and "/dev/ttyACMO" for my raspery. This connection must be set in the "initSerial.php" file in $serial->deviceSet. Look at the examples there. +The command for chmod is sudo chmod -R 777 ttyACM0 + +To set the chmod on every startup (because the tty files are created new), use paste this Code "chmod a+rw /dev/ttyACM0" to your /etc/rc.local file. Attention: This works for me. But I don't know if this cuases security issues. So dont't use this in critical environments. + ### Push code on the arduino Use the arduino software to push the code (arduino/arduino_homerrr/arduino_homerrr.ino) on the arduino. diff --git a/arduino/arduino_homerrr/arduino_homerrr_dimmWorking.ino b/arduino/arduino_homerrr/arduino_homerrr_dimmWorking/arduino_homerrr_dimmWorking.ino similarity index 100% rename from arduino/arduino_homerrr/arduino_homerrr_dimmWorking.ino rename to arduino/arduino_homerrr/arduino_homerrr_dimmWorking/arduino_homerrr_dimmWorking.ino