Musings of an aging computer nerd hitting 0x32
Dog walk 6

Dog walk 4

Dog walk 3

Dog walk 2
Note: 1 of this post’s 2 links is now broken — mostly deleted or made-private Flickr photos, dead Flickr
farmNsubdomains, and defunct feed-syndication infrastructure. Left as originally published.

Dog walk

The Royal hall Harrogate

Counting up to 1023
Using the sketch below get the results shown in the video.
int numLed = 10; int ledpins[] = { 13,12,11,10,9,8,7,6,5,4}; int mask[] = { 1,2,4,8,16,32,64,128,256,512}; int counter = 0;void setup() {
// initialize the digital pin as an output. for (int i=0;i<numLed;i++){ pinMode(ledpins[i], OUTPUT); digitalWrite(ledpins[i], HIGH); delay(250); } }
Barbican York

Arduino Binary second counter
Basic using the LED Bar Graph or six single LEDs to count seconds in binary
/* Binary Second Counter Created Alastair Montgomery 22/11/2012 */int ledPins[] = { 7,8,9,10,11,12}; int mask[] = { 1,2,4,8,16,32}; int ledCount = 6;
void setup() { for (int thisPin =0; thisPin < ledCount; thisPin++) { pinMode(ledPins[thisPin], OUTPUT); } }
Sanity Checking my new Arduino Uno Board
Quick sanity check of my new Arduino board using a LED Bar Graph.
Here is the sketch I will be using.
int led1 = 8; int led2 = 9; int counter = 0;void setup() {
// initialize the digital pin as an output. pinMode(led1, OUTPUT); pinMode(led2, OUTPUT);
}void loop() {
if (counter & 1) { digitalWrite(led1, HIGH); } else { digitalWrite(led1, LOW); }
