Jump to content

bugfight

Frequent Writer
  • Posts

    812
  • Joined

  • Last visited

Everything posted by bugfight

  1. that's no bug, it's by design. if you typecast to a smaller integer type, you get the lsb.
  2. yo, sounds great! but i think we should pay enough to cover the proto completely...
  3. coolness, i gots one o those too. haven't even cracked it open yet... ahhh the muted beauty of the infinitely majestic queue... did you realize it was from mark pauline of srl fame? http://www.srl.org/ i actually shook his hand at the dallas video festival years back...
  4. woohoo! another wilba item for me to buy! only 1 this time, though... btw, i think the blm matrix will be better as an add on than integrated. this way it can be placed where convenient and used for other purposes...
  5. can't decide which is worst, this: http://youtube.com/watch?v=ipZDG6__Zfc or this: (sorry guys, this thread sucked my brain out)
  6. as usual, your buttons rock...
  7. inductive loads such as relays can kick back a high voltage spike when they stop. the common pin shunts those spikes back to the supply line...
  8. oops, i overlooked that you are running at 12v. you want the uln2804. or you can add ~8k input resistors to the uln2803, which is designed for 5v inputs. this would be a pain, but if you have the chip in hand already... iirc pin 10 is for inductive loads, but it won't hurt to go ahead and connect it to vdd
  9. use the uln2803 8 darlingtons in 1 handy pkg...
  10. aha! told ya so... also: bug... upside down... funny! -bugflip
  11. nobody needs anybodies permission to use serial registers...
  12. cut resistor legs are now considered inhumane and therefor cut resister leads should be used instead by all conscientious boxers, preferably .1% for audio paths...
  13. i calculated 18.75mA based on max power for the chip (750mW according to ti) this may not be a good way to calculate the current limit. wilba pointed out that max current at the power pins is listed at 70mA. though i don't think this translates exactly to the current at the outputs when they are pulsing, it still suggests a lower limit. SmashTV did some tests that seemed to support the ~18mA calc (even running it at 2A for 5 secs before letting out the magic smoke) i'm sure some folks here are using more than that with high current leds, these ratings usually have a little headroom...
  14. yes but only one at a time, the code steps through sinking row 1, then row 2, etc... yes cool, you have link? sorry, i'm not going to look thru all that code looking for changes. if you have a specific issue, i will be happy to help if i can... i believe duping the code to get 8x16 is no problem for one core, except that you will have no douts for other uses...
  15. wow, that's some efficient leds! ref http://www.ucapps.de/mbhp/button_duoled_matrix.pdf the supply side of the blm circuit (DEFAULT_SRM_DOUT_L1, DEFAULT_SRM_DOUT_L2) is no problem since each pin only supplies 1 led at a time. DEFAULT_SRM_DOUT_CATHODES1 on the other hand sinks current for the whole row at once (i mistakenly said 16 leds before, which is correct for duo leds but for rgb it will be 24) to simply add a third led color, you would add DEFAULT_SRM_DOUT_L3... (for the left side that is, the same applies to the right side)
  16. you shouldn't have to change this code at all since the column index is the same for all 3 colors. also note that current sinking transistors will be an absolute requirement to handle the current from 16 lit rgb leds...
  17. the &= 0x7F thing is good to prevent accidentally sending invalid midi, but not necessarily the best thing for setting ranges. this code will prevent octave shift from exeeding 0x7F and wrapping around 0 for octave up: unsigned char tmp; ... tmp = octave + 0x0C; if !(tmp & 0x80) octave = tmp; i supect, though, that what you really need is to keep octave + your highest note value under 0x7f. so, for octave up: #define OCTAVE_MAX 64 ;//set this to 0x7F - 0x0C - your highest note number ... if (octave <= OCTAVE_MAX) octave += 0x0C; same goes for octave down but with 0 hope this helps...
  18. http://line6.com/tonecore/ http://namm.harmony-central.com/WNAMM08/Content/Line6/PR/ToneCore-Developer-Kit.html dev kit $199 (ok, not "opensource" as such, but still...)
  19. tempest rocks, still play regularly on my mame cab. c'mon "full-blown newb" let's see something before you catch the triple guru curse... *whack*
  20. cool wilba! i'm in for 100. thanks again d00d!!
×
×
  • Create New...