Ian_Hurlock Posted January 26, 2003 Report Share Posted January 26, 2003 ??? Hi TkJust built that flooboard thing for Mackwreck.Only thing is that it does'nt go !! he he heAs you know I check things and I have checked this.Upshot is that I get nil per led segment. I guess I should see something on the leds when I power up.I have not tried to send any midi with it yet, did'nt see the point.Did anyone build this thing b4.........?Wondered if there might be a code prob or something.BTW can the 877 be used ?TIA Ian Quote Link to comment Share on other sites More sharing options...
Ian_Hurlock Posted January 26, 2003 Author Report Share Posted January 26, 2003 :-[ Ok so do you think 33,000 pf is a bit toppy for the oscillator !!! :-[ :-[Now the leds light up ok. Thing is the numbers appear to be changing but all the leds segments are all bright and the ones displaying value are only marginally brighter.Ideas ?Ian Quote Link to comment Share on other sites More sharing options...
Ian_Hurlock Posted January 26, 2003 Author Report Share Posted January 26, 2003 So TK I bet that's the sort of result you would expect from a common cathode segment is'nt it !!?Ian :'( Quote Link to comment Share on other sites More sharing options...
Ian_Hurlock Posted January 27, 2003 Author Report Share Posted January 27, 2003 Things are getting real bad when you post replies to your own posts.The other day I had an argument with myself and lost :o :o :oOh how delightful the leds are when it boots up ::)Those stinky segments were CC not CA. Slid the new ones in and it works a treat. ;)Now gotta work out how to change the source code ......eek :P ???Ian Quote Link to comment Share on other sites More sharing options...
LO Posted January 27, 2003 Report Share Posted January 27, 2003 he he he he :D Quote Link to comment Share on other sites More sharing options...
TK. Posted January 28, 2003 Report Share Posted January 28, 2003 Hi Ian,the source code mod is easier than resoldering all the parts (ok: for myself ;-))In irq.inc, you have to exchange the LED routines: ;; ========================================================================== ;; LED subroutines for timer handler ;; ========================================================================== LED_Set0 movlw 0x01 ; Digit 0 on, Digit 1 off, Digit 2 off xorlw 0x07 movwf PORTC movf LED_DIGIT0, W goto LED_SetDigit LED_Set1 movlw 0x02 ; Digit 0 off, Digit 1 on, Digit 2 off xorlw 0x07 movwf PORTC movf LED_DIGIT1, W goto LED_SetDigit LED_Set2 movlw 0x04 ; Digit 0 off, Digit 1 off, Digit 2 on xorlw 0x07 movwf PORTC movf LED_DIGIT2, W ; goto LED_SetDigit LED_SetDigit ;; First: Check Flash Flag IFCLR LED_FLASH_FLAG, 0, goto LED_SetDigitCont ; change char to "led off", depending on counter IFSET LED_FLASH_CTR, 5, movlw 0x10 LED_SetDigitCont call LED_GetCode movwf LED_TMP ;; scrambling: ;; LED a: PORTA[0] ;; LED b: PORTA[1] ;; LED c: PORTA[2] ;; LED d: PORTA[3] ;; LED e: PORTA[5] ;; LED f: PORTE[0] ;; LED g: PORTE[1] ;; LED dot: PORTE[2] andlw 0x0f ; PORTA[3..0] IFSET LED_TMP, 4, iorlw 0x20 ; PORTA[5] xorlw 0x2f movwf PORTA swapf LED_TMP, F rrf LED_TMP, W andlw 0x07 xorlw 0x07 movwf PORTE ; PORTE[2..0] return I just have exchanged the polarity with the xorlw instructionsBest Regards, Thorsten. Quote Link to comment Share on other sites More sharing options...
Ian_Hurlock Posted January 28, 2003 Author Report Share Posted January 28, 2003 Ok ....coolBit late now for mackwrecks one I've changed the leds but I'll use it for mine anyway he he he ;)Thanks anyway TKI need to change the source to suit sending bank change instead of program values ???Hint hintThanks Ian Quote Link to comment Share on other sites More sharing options...
Ian_Hurlock Posted January 28, 2003 Author Report Share Posted January 28, 2003 BTW I chucked a burn into an 877 and that worked too ::)Ian Quote Link to comment Share on other sites More sharing options...
TK. Posted January 29, 2003 Report Share Posted January 29, 2003 perfect :)Best Regards, Thorsten. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.