Search found 4 matches

by garyaj
Tue Sep 04, 2012 6:24 am
Forum: LeoStick
Topic: LeoStick as a 16-bit binary counter
Replies: 0
Views: 1872

LeoStick as a 16-bit binary counter

Here's a sketch to run a LeoStick as a 16-bit binary counter. I used a LogicSniffer to verify the output but you could set D13 to input and use the LED on the pin to check the other pins (just add a line in the sketch to ignore outputting to D13, same as line to skip D11). Any optimisations grateful...
by garyaj
Sun Sep 02, 2012 9:32 am
Forum: LeoStick
Topic: Using LeoStick temperature sensor
Replies: 3
Views: 4157

Using LeoStick temperature sensor

nonentity asked for an example of using the temp. sensor in the LeoStick Atmega32u4 chip. After uploading the sketch below, click on the magnifying glass icon on the top right hand side of the Arduino IDE to open the Serial Monitor window. /* ReportTemp Use internal temperature sensor to report tem...
by garyaj
Sun Sep 02, 2012 4:00 am
Forum: LeoStick
Topic: Analog out on D13
Replies: 5
Views: 5022

Re: Analog out on D13

I also can confirm that D13 has PWM on it. The ATmega32u4 chip has 6 PWM outputs and they are connected to D5, D6, D9, D10, D11 and D13 so the LeoStick has had PWM on D13 from the start. I stuck a Logic Sniffer onto D0..D15 and used the analogWrite function to put the above mentioned pins into PWM m...
by garyaj
Fri Aug 31, 2012 3:31 am
Forum: LeoStick
Topic: Building Arduino 1.0.1 Bootloader for Leostick on Mac OS X
Replies: 6
Views: 6066

Building Arduino 1.0.1 Bootloader for Leostick on Mac OS X

My notes from attempting to follow along with adr1an 's notes on Building Arduino 1.0.1 Bootloader for Leostick on a PC. tl;dr Arduino IDE 'Burn Bootloader' using BusPirate takes almost an hour to finish (with no visible feedback). You just have to let it run (or find a more verbose way of running t...