Shop OBEX P1 Docs P2 Docs Learn Events
LOOKING FOR INFO Has any one ever used a TLC5490NT with a Basic Stamp — Parallax Forums

LOOKING FOR INFO Has any one ever used a TLC5490NT with a Basic Stamp

sam_sam_samsam_sam_sam Posts: 2,286
edited 2010-03-28 10:12 in General Discussion
Can you share your code with me

Here is the data sheet for it

http://focus.ti.com/lit/ds/symlink/tlc5940.pdf

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
··Thanks for any·idea.gif·that you may have and all of your time finding them smile.gif

·
·
·
·
Sam

Post Edited (sam_sam_sam) : 3/28/2010 1:47:08 AM GMT

Comments

  • Timothy D. SwieterTimothy D. Swieter Posts: 1,613
    edited 2010-03-28 00:06
    I've had a TLC5940 object in the Propeller Object Exchange for some time. The code could be made to be much faster and more efficient, but it has worked reliably for years. obex.parallax.com/objects/375/

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Timothy D. Swieter, E.I.
    www.brilldea.com - Prop Blade, LED Painter, RGB LEDs, 3.0" 16:9 LCD Composite video display, eProto for SunSPOT, PropNET, PolkaDOT-51
    www.tdswieter.com
  • sam_sam_samsam_sam_sam Posts: 2,286
    edited 2010-03-28 01:47
    Timothy

    Thank You for your reply

    Can you tell me what Pins on the Propeller are which pin on the TLC5490

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    ··Thanks for any·idea.gif·that you may have and all of your time finding them smile.gif

    ·
    ·
    ·
    ·
    Sam
  • Timothy D. SwieterTimothy D. Swieter Posts: 1,613
    edited 2010-03-28 06:01
    The pin wiring depends on your application. The TLC5940 object allows you to use any pin. When starting the object you specify which signals are which pins. Look at the TLC5940 data sheet and I think you will see similar names as used in the object start method.

    PUB StartTLC5940(_sclk, _sin, _xlat, _gsclk, _blank, _vprg, _dcprog)
    
    

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Timothy D. Swieter, E.I.
    www.brilldea.com - Prop Blade, LED Painter, RGB LEDs, 3.0" 16:9 LCD Composite video display, eProto for SunSPOT, PropNET, PolkaDOT-51
    www.tdswieter.com
  • Timothy D. SwieterTimothy D. Swieter Posts: 1,613
    edited 2010-03-28 10:12
    I just now noticed the title of your thread included "Basic Stamp". Obviously the code I linked to was for the Propeller, but I think you got that. The basics is to clock data out and then latch it in. A second task is a continuously clocking signal that counts to 1023 as the gray scale clock.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Timothy D. Swieter, E.I.
    www.brilldea.com - Prop Blade, LED Painter, RGB LEDs, 3.0" 16:9 LCD Composite video display, eProto for SunSPOT, PropNET, PolkaDOT-51
    www.tdswieter.com
Sign In or Register to comment.