I have 16 waveforms in progmem and can swap them out pretty quickly. It's neat.
I need to hook on 3 more knobs. That should be easy enough-- I just need to acquire the actual knobs.
I should put this thing in a case so it's not just, like, naked electronics hanging out, especially if I add more knobs and the associated wires to hang them off.
Somebody has drum machine code somewhere on the web, including little wavetables of drum sounds. Hm.
Anyway. It's fun! HEY
profesor EMBEDDED PROGRAMMING IS EASY! IS iROBOT HIRING??? I CAN TOTALLY DO THIS NOW! WHEE!!!!!
Heh.
I need to hook on 3 more knobs. That should be easy enough-- I just need to acquire the actual knobs.
I should put this thing in a case so it's not just, like, naked electronics hanging out, especially if I add more knobs and the associated wires to hang them off.
Somebody has drum machine code somewhere on the web, including little wavetables of drum sounds. Hm.
Anyway. It's fun! HEY
Heh.
(no subject)
Date: 2008-10-06 05:51 pm (UTC)(no subject)
Date: 2008-10-06 05:59 pm (UTC)Seriously, I already had a lot of respect for people who do that kind of programming, and this has only increased that respect, especially since I know the arduino stuff has been designed to be super easy for people to just mess around with using a fairly high-level language, with easy debugging through a serial port and easy ways to attach hardware for inputs and outputs and stuff... I can only imagine the patience it requires to do this kind of work without all the handholding and so on. Heck, just finding out that I need to worry about where stuff is in memory was a big shift from my usual perl programming, where it doesn't matter and you just declare what you want and go...
(no subject)
Date: 2008-10-06 06:21 pm (UTC)(no subject)
Date: 2008-10-06 06:52 pm (UTC)I never really got perl - partially because it hid too much from me so I couldn't form a model in my head of how it was supposed to work :)
(no subject)
Date: 2008-10-06 07:01 pm (UTC)Heck, I'm not even very good with pointers, although I'm certainly better than I was back when I rode the curve to a passing grade in CS1025 (or whatever that awful class was way back when). memcpy! memcpy_P!
Here is more or less what I've been messing with. It applies more pointer stuff in a few lines than I've had to deal with in the past ten years of perl programming...
(no subject)
Date: 2008-10-06 08:01 pm (UTC)For a language designed to simplify some aspects of embedded programming, that PROGMEM interface seems kind of clunky to me. I can see why they did it that way, but it seems strange from a programmer's point of view to declare a variable but not be able to access it directly without calling some function.
(no subject)
Date: 2008-10-06 08:16 pm (UTC)(no subject)
Date: 2008-10-07 02:56 pm (UTC)