I
I Robert I
Guest
Not PICtures, PICs, as in microcontrollers from Microchip. They come in a bunch of different sizes and configurations and can do lots of fun stuff.
Since I'm a total noob just starting I'm just turning LEDs on and off but I think it's interesting damnit!
These things are programmed using ASM, you know, machine code. And this is what's holding me back the most, being used to a high level language such as PHP it's quite a contrast and a lot to wrap me head around (if it was my penor this wouldn't be a problem, but it's my brain we're talking about here). They can be programmed using Basic and C and other languages I'm sure but it seems people prefer to use ASM because memory space is a huge issue on these things, it's severly limited (atleast on the midrange stuff I'm working with). If you know what you're doing ASM will create more compact code. Since I haven't got a clue what I'm doing my code is probably two times longer than necessary.
So far I've managed to make a little 7-segment display count from 0-9, amazing, isn't it. I just now (a few minutes before creating this thread) managed to learn how to do input aswell, so now program execution is halted untill I press a button. High tech stuff right there!
You still reading? I'm impressed, I wouldn't be if this was someone elses thread.
Aaanyways, here's a small clip of my little circuit counting. Watch and be amazed! Yeah...
http://files.badlysprained.net/out/52/genmay/omgitcounts.avi
And here it is doing the classic LED chaser thingy (second thing I did after managing to turn on a single LED):
http://files.badlysprained.net/out/51/genmay/tehchase.avi
Soo, am I the only one who likes to dive into meaningless stuff like this?
Since I'm a total noob just starting I'm just turning LEDs on and off but I think it's interesting damnit!
These things are programmed using ASM, you know, machine code. And this is what's holding me back the most, being used to a high level language such as PHP it's quite a contrast and a lot to wrap me head around (if it was my penor this wouldn't be a problem, but it's my brain we're talking about here). They can be programmed using Basic and C and other languages I'm sure but it seems people prefer to use ASM because memory space is a huge issue on these things, it's severly limited (atleast on the midrange stuff I'm working with). If you know what you're doing ASM will create more compact code. Since I haven't got a clue what I'm doing my code is probably two times longer than necessary.
So far I've managed to make a little 7-segment display count from 0-9, amazing, isn't it. I just now (a few minutes before creating this thread) managed to learn how to do input aswell, so now program execution is halted untill I press a button. High tech stuff right there!
You still reading? I'm impressed, I wouldn't be if this was someone elses thread.
Aaanyways, here's a small clip of my little circuit counting. Watch and be amazed! Yeah...
http://files.badlysprained.net/out/52/genmay/omgitcounts.avi
And here it is doing the classic LED chaser thingy (second thing I did after managing to turn on a single LED):
http://files.badlysprained.net/out/51/genmay/tehchase.avi
Soo, am I the only one who likes to dive into meaningless stuff like this?