Shop OBEX P1 Docs P2 Docs Learn Events
max7219 idiot requires help pls — Parallax Forums

max7219 idiot requires help pls

staffshomestaffshome Posts: 28
edited 2009-10-01 14:27 in BASIC Stamp
Hello All
can someone help me with using max7219 with three digit 7 seg display.I have looked at ex29-change counter & chapter 6 in whats a microcontroller & got totally lost & confused.
using bs2p40, i need to display on specific digits (binary format ((no decode))·from within a·program, how do i initialise & then send to digit ?
see attached txt file for what im trying to achieve

regards Adrian

confused.gif

Comments

  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2009-09-29 21:27
    Hello, perhaps the following project will help. The code is very well commented and you can see where initialization is done, and where the digits are being addressed and setup with values. I hope this helps. Take care.

    http://forums.parallax.com/showthread.php?p=552892



    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage

    Parallax Engineering
    50 72 6F 6A 65 63 74 20 53 69 74 65
    ·
  • staffshomestaffshome Posts: 28
    edited 2009-09-30 12:22
    Hi Chris,

    thank you for the info,still beyond my ability to understand.i cannot initialize· on auxio pins 0,1,2 properly & if i get loaded only get "0" on digit 1.

    Think i'm better off not using led's & 7219,will just build comps to drive some filament lamps with pictographs.

    Help much appreciated all the same.

    regards Adrian·· sad.gif
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2009-09-30 18:24
    On AUXIO pins you need to specify the AUXIO command first before any operations to those pins. Likewise, anything intended for the MAIN pins must be preceded by MAINIO. Perhaps if you could specify where the data for each digit is coming from (like, what variable) and which pins the MAX7219 is connected to I might be able to create a quick example.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage

    Parallax Engineering
    50 72 6F 6A 65 63 74 20 53 69 74 65
    ·
  • staffshomestaffshome Posts: 28
    edited 2009-09-30 19:27
    Hi Chris,
    have attached what im using so far,
    tried to use pulsout instead of low/high but didn't work.
    Bear in mind only running on Proteus vsm not real hardware.

    Thanks again Adrian
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2009-09-30 19:35
    Ok, so it's a simulation. I thought you actually had the hardware set up. =)

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage

    Parallax Engineering
    50 72 6F 6A 65 63 74 20 53 69 74 65
    ·
  • staffshomestaffshome Posts: 28
    edited 2009-10-01 14:27
    Hi Chris,

    good heavens i think i've got it.

    please have a·look at the attached file. It runs ok on vsm,probably not very good but at least it works

    I will try adding to my main program later today !!! and see what happens.

    Many thanks again Adrianshocked.gif
Sign In or Register to comment.