beermat: (Default)
greg elkin ([personal profile] beermat) wrote2003-10-24 11:55 am

Yay!

I got the LED to flash.

even better, it flashes both ON and OFF!

Woooot! F33r my l33t coding skillz!

[identity profile] maluse.livejournal.com 2003-10-24 05:30 am (UTC)(link)
Yay! Flashing LEDs are so much more satisfying than a simple "hello, world" could ever be!

[identity profile] syllopsium.livejournal.com 2003-10-24 06:20 am (UTC)(link)
The LED?

[...remembers what Greg does for a living...]

Are you coding it in brainfuck[1] or something?

[1] Note for any non techies reading this - it's a language, not a swearword.

[identity profile] syllopsium.livejournal.com 2003-10-24 10:03 am (UTC)(link)
Yup, I'm matinee@cix - I noted your beermat change.

Brainfuck is considerably worse than x86 asm - see Brainfuck information. Just thought given your BIOS programming experience, making an LED blink wouldnt be particularly tricky.

I've given up reading my CIX e-mail, I get 50 odd spams there every day at least. *sigh*.

[identity profile] stillcarl.livejournal.com 2003-10-24 05:04 pm (UTC)(link)
Oh please, don't point him to Brainfuck when Cow is now out!

[identity profile] syllopsium.livejournal.com 2003-10-24 05:21 pm (UTC)(link)
*laugh*. You know, I would have done, but I'm more into to programming than linguistics ;)

[identity profile] stillcarl.livejournal.com 2003-10-25 04:54 am (UTC)(link)
John Conways Life....... - which I wrote in machine code on my ZX81 - and probably on my C64 - and which I now notice is on my watch! ;) (Though not coded by me.)

I take it you don't believe that that's the life you're supposed to get when they say get a life?

[identity profile] stillcarl.livejournal.com 2003-10-25 02:13 pm (UTC)(link)
And you try to tell that to the youth of today, etc etc etc

Aye - or that someone wrote a chess program for the 1k ZX81... 'tis true - you could buy it!

Umm, no - have Life on my watch, not a C64. That didn't come out too well at 1am...

Though there's no reason a C64 emulator couldn't fit in its 2 megs of memory I guess - if you're happy with a C64 with only a 102x64 pixel single-color bitmap and without SID-quality sound - and only one joystick. ;) Still, I'd be happy enough if it had C64 BASIC on it. Never learnt C, but it looks like I might have to for my watch!

[identity profile] maluse.livejournal.com 2003-10-26 09:12 am (UTC)(link)
2Mb memory & a bitmapped screen? What type of watch is it (Onhand PC/Ruputer?)?

[identity profile] stillcarl.livejournal.com 2003-10-26 12:04 pm (UTC)(link)
Spot on - an onHand. See my first impressions of it here. To my criticisms there, I'd add it really needs a stylus.

[identity profile] stillcarl.livejournal.com 2003-10-26 12:10 pm (UTC)(link)
See the onHand PC homepage and the link to my first impressions of it elsewhere in this thread.

[identity profile] sheepthief.livejournal.com 2003-10-24 11:41 am (UTC)(link)
Not a PIC is it?

[identity profile] sheepthief.livejournal.com 2003-10-27 01:02 am (UTC)(link)
It's many years since I looked at the 8051 family. I suppose that I ought to be spending my time unemployed catching up with technology that I've lost touch with. But I can't seem to find the motivation, so I'll just carry on spamming livejournal instead.
spodlife: Tardis and Tim (Default)

Re: flashing LED

[personal profile] spodlife 2003-10-24 01:34 pm (UTC)(link)
Most programming comes down to making a light go on _AND_ off. I too have found it strangely satisfying.

Re: flashing LED

[identity profile] stillcarl.livejournal.com 2003-10-25 04:42 am (UTC)(link)
Wait until you discover XOR! ;)
spodlife: Tardis and Tim (Default)

Re: flashing LED and moving actuators

[personal profile] spodlife 2003-10-26 12:17 pm (UTC)(link)
Yum, PCL! I did some as part of my Mech Eng course back in the early to mid-90s. Any jobs going in the area doing that? ;-)