Jump to content

bugfight

Frequent Writer
  • Posts

    812
  • Joined

  • Last visited

Everything posted by bugfight

  1. ok, i've tested the app. the debounce function works great. thanks again. it turns out i may have my led cathodes wired to the opposite 4 pins as you, because i had to move the code to invert the pins as follows. i'm holding out a slim hope that the comment is just backwards, since this would require a re-rout of the pcb: ;; select next DOUT/DIN column movf blm_selected_column, W, BANKED ; (* see note below) call MIOS_HLP_GetBitANDMask ; (inverted 1 of 8 code) andlw 0x0f movwf MIOS_PARAMETER1 ;; duplicate the 4 selection lines for button matrix ;should this line read dupe for the leds?? #if BLM_INVERT_LED_CATHODES xorlw 0x0f #endif swapf WREG, W iorwf MIOS_PARAMETER1, F
  2. do they entshuldegen me please? ahhh the chat, i remember those days. i'm feeling nostalgic already. you could try the irc link posted afor
  3. Where is my upper bunting gaueralpen herbs delicate eating breakfast cheese? plus: "german is too brutish a language for opera. all intelligent people agree on this." or like such as...
  4. that and to avoid loading, which has other consequences as well... i may make an active mixer for my mb-6582, but that's way down on a long todo list. and will most likely need a dual supply, since i want cv anyways ugh no guru me, see? just a lowly addict
  5. i think inserting this directive will work to implement the switch for current sinking transistors on the led rows: ... #define BLM_INVERT_LED_CATHODES 1 ; 1 if sinking transistors are used on the led cathodes, 0 if not ... BLM_PrepareCol ... ;; select next DOUT/DIN column movf blm_selected_column, W, BANKED ; (* see note below) call MIOS_HLP_GetBitANDMask ; (inverted 1 of 8 code) andlw 0x0f #if BLM_INVERT_LED_CATHODES xorlw 0x0F #endif movwf MIOS_PARAMETER1
  6. not sure why you need stereo output jacks for mono signals... but i'll take a crack at it. you could maybe get away with a passive mix with say 1k resistors and one switching jack. to do this you would use a switching jack for the right output. connect each output through a series resistor to the tip of it's corresponding jack. then connect the switch of the right jack to the tip of the left jack. this will connect the right signal to the left output if no plug is inserted in the right jack. note that this needs to be a switching jack: the ones that connect the tip to another tab when a plug is not there and disconnect it when a plug is inserted. don't try to use the ring of a stereo jack. this will result in a slight attenuation of the signals, how much depends on the input impedance of the device you connect them to. so i wouldn't do it this way myself, but you can try and see if it works for you.
  7. since i don't know any german, i can take full credit for the correctness... i initially babelfished "me likey babelfish" but wasn't impressed with "ich likey babelfish" so wie sagen Sie "likey" auf Deutsch? i also enjoy sending things back and forth many times through babelfish. results are sometimes even better than engrish signs...
  8. außer einem deutschen Hammerjongleur (ich wie babelfish) *whack*
  9. just had first glance at new project example. here is how i did the led toggle function: unsigned char mask = MIOS_HLP_GetBitORMask( pin ); //ex 0b00000001, 0b00000010 unsigned char idx = (pin >> 3) & 0x07; if (BLM_LED_states1[idx] & mask) BLM_LED_states2[idx] ^= mask; //states2 bit is toggled if states1 bit is 1 BLM_LED_states1[idx] ^= mask; //states1 is always toggled i think it's more efficient, no? not that it matters much in a test program...
  10. hehe, so we can be sure they are not "attempting to attract someone sexually." actually this is slang. i've only found it in the context of salvage, usually electronic components and means "objects pulled from an assembled unit" or like such as...
  11. that's a shame. hope it works out in the end.
  12. hehe, did you threaten it or wave the mighty guru chicken?
  13. i will try the new example this weekend. the only new features are the debounce (woohoo!) and direct midi control of the leds. i still need to try cool-amp on an unpopulated pcb and/or fix the one i tried to cool-amp after it was populated, but if any more pcbs are made, they should have ENIG which will be much better than cool-amp. but there didn't seem to be so much interest in a run of pcbs...
  14. woohoo! thanks, i'll check this out this weekend... did you not like my attempt at this? http://www.midibox.org/forum/index.php/topic,10004.msg74201.html#msg74201 is something more necessary? seems to work well...
  15. i wondered about this, since i've always had good experiences with paypal. also paypal is not popular with the banking industry, who are not the most scrupulous of folks....
  16. that's where mine stands, pretty quick and dirty, too dirty to publish... it just steps through the 4 led states on pressing of the corresponding button. i didn't understand how the built in mios debounce worked when i started, or i would have derived from example2... coolness, again you will save me from getting my coding fingers dirty, hehe. while you are in there, could you also include a compile switch for inverting the sink lines for using npn transistor sinks as in the SID? my first use of this array will be able to light all leds at once, taking it way out of spec without the current sinks. (especially when lighting through the sparkfun buttons)
  17. is that 0x08 intended? if not this should work instead of all that array stuff incf SID_BANK, W ; increment bank, load result into w andlw 0x07 ; this keeps result from getting bigger than 7 movwf SID_BANK
  18. ahhhhhhhhh! apparently you love evil *whack*
  19. akk did you publish this application? i must have missed it. i had to create my own for this: http://www.midibox.org/forum/index.php/topic,10004.0.html but it needs a rewrite because the sparkfun buttons need debounce. perhaps i'll get back to that soon. so many projects... anyways in this context the dual leds are not required, and there are several folks who have combined the button matrix and led matrix (examples in the wiki and the forum for the seeker to find)
  20. careful, now, dout is necessary to implement the button scan matrix.
  21. *whack* is *whack* hehe actually it's the sound of wilba's joke *whack*ing you in the head
  22. bugfight

    Hot 6582s

    zip ties. don't forget the thermal compound though. i'm thinking a thermal adhesive would be best. also i think it's important to find heat sinks that contact the whole top surface of the chip.
  23. hehe "There are currently people talking in the chat room."
  24. bugfight

    Hot 6582s

    jb weld?? no way! i'd prefer the JD... or maybe some stain *whack*
×
×
  • Create New...