// Teensy 3.0 has the LED on pin 13 **THAT'S PIN 13 !! NOT 11 or 12 PIN 13! ARE YOU LISTENING?!
const int ledPin = 13;
void setup() {
// initialise the digital pin as an output.
pinMode(ledPin, OUTPUT);
Serial.begin(38400);
Serial.println("It begins");
}
void loop() {
Serial.println("and ...");
digitalWrite(ledPin, HIGH); // set the LED on
delay(1000); // wait for a second
digitalWrite(ledPin, LOW); // set the LED off
delay(500); // wait for a second
}
gpasswd -a YOUR_USERNAME tty
gpasswd -a YOUR_USERNAME uucp
Device Drivers --->
[*] USB support --->
<*> USB Serial Converter support --->
<*> USB FTDI Single Port Serial Driver
Device Drivers --->
[*] USB support --->
<*> USB Modem (CDC ACM) support
screen /dev/ttyACM0 38400
for i in {1..10}; do echo $i;screen /dev/ttyACM0 38400; done
import serial
def listen():
ser = serial.Serial('/dev/ttyACM0', 38400)
while True:
print(ser.readline())
while True:
try:
listen()
except Exception as e:
print("error captured: " + str(e))
error captured: could not open port /dev/ttyACM0: [Errno 2] No such file or directory: '/dev/ttyACM0'
error captured: could not open port /dev/ttyACM0: [Errno 2] No such file or directory: '/dev/ttyACM0'
error captured: could not open port /dev/ttyACM0: [Errno 2] No such file or directory: '/dev/ttyACM0'
error captured: could not open port /dev/ttyACM0: [Errno 2] No such file or directory: '/dev/ttyACM0'
error captured: could not open port /dev/ttyACM0: [Errno 13] Permission denied: '/dev/ttyACM0'
error captured: could not open port /dev/ttyACM0: [Errno 13] Permission denied: '/dev/ttyACM0'
error captured: could not open port /dev/ttyACM0: [Errno 13] Permission denied: '/dev/ttyACM0'
b'and ...\r\n'
b'and ...\r\n'
b'and ...\r\n'
b'and ...\r\n'
dmesg
usb 2-6: udev 8, busnum 2, minor = 135
usb 2-6: New USB device found, idVendor=16c0, idProduct=0483
usb 2-6: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 2-6: Product: USB Serial
usb 2-6: Manufacturer: Teensyduino
usb 2-6: SerialNumber: 10138
usb 2-6: usb_probe_device
usb 2-6: configuration #1 chosen from 1 choice
usb 2-6: adding 2-6:1.0 (config #1, interface 0)
usb 2-6: adding 2-6:1.1 (config #1, interface 1)
and the blink code from windows was running without having to press the button.
Opening Teensy Loader...
Unable find Teensy Loader. Is the Teensy Loader application running?
./teensy
./teensy: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory
emerge libpng:1.2
ip:82.165.83.145
where 82.165.83.145 is the server hosting www.jumpstation.co.uk. The search results will be ALL the domains hosted on that IP address.
email
root
flog archives
In fact I'm not responsible for anything ever, so there!
Disclaimer:
This page is by me for me, if you are not me then please be aware of the following
I am not responsible for anything that works or does not work including files and pages made available at www.jumpstation.co.uk
I am also not responsible for any information(or what you or others do with it) available at www.jumpstation.co.uk