ClsHack:Computer Security Blog    

[Teensy] How-To Start on Ubuntu/ GNU/Linux


After Arduino, ioio and much more on this blog also appears teensy.
Ordered by the official website, total cost 23 $.
Arrived in 3 weeks and this time without customs fees (mi è bene andata).

Let's see how to start programming teensy, in my case version 2.0

Firstly, I am happy for the dimensions are very small :)

Well we start the first thing to do is have the Arduino editor so read it here:
[ARDUINO] How-To Start on Ubuntu/ GNU/Linux

Once downloaded the arduino ide to unload the add:
http://www.pjrc.com / Teensy / td_download.html

Once you download the add, lanciamolo diamoli and the directory of the IDE Arduino.
Example:
chmod +x teensyduino.64bit
./teensyduino.64bit

Open the Arduino IDE and select our board teensy :D
The pins are as follows:

The code to turn off and turn on an LED every second:

= int ledPin 11;                 // LED connected to digital pin 13
void setup()
{
  pinMode(ledPin, OUTPUT);      // sets the digital pin as output
}
void loop()
{
  digitalWrite(ledPin, HIGH);   // sets the LED on
  delay(1000);                  // waits for a second
  digitalWrite(ledPin, LOW);    // sets the LED off
  delay(1000);                  // waits for a second
}

And as you can see the code is equal to that of Arduino :)

And some useful links:

Arduino Development Package
http://www.arduino.cc/en/Main/Software

Teensyduino, Teensy Loader, Serial Driver
http://www.pjrc.com/teensy/td_download.html

Alpha/Beta versions of the Teensy software
http://www.pjrc.com/teensy/experimental.html
Tutorial:
http://pjrc.com/teensy/tutorial.html

PHUKD Page
http://www.irongeek.com/i.php?page=security/programmable-hid-usb-keystroke-dongle

Continue to follow I have a nice little’ of ideas :D

Related posts:

  1. [ARDUINO] How-To Start on Ubuntu/ GNU/Linux
  2. [Metasploit]Sun Java Web Start Plugin Remote Code Excution

This entry was posted on Wednesday, February 8th, 2012 at 4:23 pm and is filed under Teensy. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Tagged with: