Jump to content

Anyone seen these ledrings?


gk1
 Share

Recommended Posts

I was looking for something else and happened by these little gems. http://www.ledtronics.com/ds/CBG1500/

Not sure how much they cost yet, but they seem very nice. Any thoughts on using them as the ring leds? I know they have 15 leds and the ring led code currently is set for 11, how hard would it be to adapt to use 15? I havent really been able to follow the code as my mplab wont compile, and i have been trying to fix that first.

anyway i thought they were cool!

Link to comment
Share on other sites

I know they have 15 leds and the ring led code currently is set for 11, how hard would it be to adapt to use 15? I havent really been able to follow the code as my mplab wont compile, and i have been trying to fix that first.

Look at the MB64E_Presets_OffsetLEDPatterns in mb64e_presets.inc.

You just have to modify the patterns. For example I changed them for 13 LEDs. Pattern #1 then looks like this:

;; LED Pattern #1

LED_ENTRY b'0000000000000001'

LED_ENTRY b'0000000000000011'

LED_ENTRY b'0000000000000011'

LED_ENTRY b'0000000000000011'

LED_ENTRY b'0000000000000111'

LED_ENTRY b'0000000000000111'

LED_ENTRY b'0000000000000111'

LED_ENTRY b'0000000000001111'

LED_ENTRY b'0000000000001111'

LED_ENTRY b'0000000000001111'

LED_ENTRY b'0000000000011111'

LED_ENTRY b'0000000000011111'

LED_ENTRY b'0000000000111111'

LED_ENTRY b'0000000000111111'

LED_ENTRY b'0000000000111111'

LED_ENTRY b'0000000001111111'

LED_ENTRY b'0000000001111111'

LED_ENTRY b'0000000011111111'

LED_ENTRY b'0000000011111111'

LED_ENTRY b'0000000011111111'

LED_ENTRY b'0000000111111111'

LED_ENTRY b'0000000111111111'

LED_ENTRY b'0000001111111111'

LED_ENTRY b'0000001111111111'

LED_ENTRY b'0000001111111111'

LED_ENTRY b'0000011111111111'

LED_ENTRY b'0000011111111111'

LED_ENTRY b'0000011111111111'

LED_ENTRY b'0000111111111111'

LED_ENTRY b'0000111111111111'

LED_ENTRY b'0000111111111111'

LED_ENTRY b'0001111111111111'

Link to comment
Share on other sites

  • 1 year later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...