Wednesday, 3 October 2018

Headlong into a fence

You'll reach into your wallet to brandish a photograph of a new puppy, and a friend will say, 'Oh, no - not pictures.'
Caroline Knapp

Yesterday at the park Kelly was chasing a ball (surprise) when she missed the visual cues relating to fencing wire and tried to grate herself. Ouch! So we have a cut tongue, lip and we are missing a bit of a tooth (again). You have to wonder at what point she will have at least a working knowledge of situational awareness?  She's fine (sort of), but my do we not need these heart in the mouth moments at our age. Look out soon for a photo of Kelly completely covered in tape and bubble wrap ready for her daily constitutional.

Ignore me at your peril
Speaking of pain and suffering - here is a link to three months of our lives as we recently revisited assembler programming using the attiny13A as inspiration. With a couple of overseas buddies cheering from the side, it has been a firkin of frustrating fun making the damn thing and we wish it well on it's voyage to publishing obscurity. Check this out:

    completetime:

        in r16, ADCSRA
        andi r16, 0b01000000
        ldi r17, 0b01000000
        eor r16, r17
        brbs 1, completetime
        in r16, ADCL
        in r17, ADCH 
        ldi r18, low(threshold)
        ldi r19, high(threshold)
        cp r16, r18
        cpc r17, r19
        brbc 2, ledon

Yikes! A well deserved lie down and a cool cloth on the forehead must surely be in order.


No comments:

Post a Comment