5x7 LED Matrix Scrolling Display


Results 1 to 19 of 19

Threaded View

  1. #17
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mackrackit View Post
    Here is a little bit that may get you started. The PBP manual will help to explain some.
    Code:
    'Pin setup
        include "modedefs.bas"
    ' The clock and load pins can be shared_
    'on all shifters
    'Data pins are for each shifter
        Clock   var PORTB.7
        Load    var PORTB.6
        Data_1  var PORTB.5
        Data_2  var PORTB.4
        LEDs_1  var byte
        LEDs_2  var byte
    'Send data to the shifter
        pulsout Load,1
        shiftout Data_1,Clock,MSBPre,[LEDs_1]
        pulsout Load,1
        shiftout Data_2,Clock,MSBPre,[LEDs_2]
    Now the fun part, if you have the data sheet for the shifter it will help.
    If it is a serial to parallel register, sending the value of 2 should make the first output pin on the shifter go high, a value of 4 activate the second pin, a value of 6 both pin 1 and 2. And so on. Each pin up is double from the last. To send to multiple pins, add the values for each pin. This is the same for shift in registers.

    This is interesting
    http://www.eelab.usyd.edu.au/digital...egister03.html
    Hi Roy, Hi Mackrackit,
    Have you unzipped Trent's 245 LED post, I have , he provides a nice VB program to send data to his display, all the code, a pdf article on building it, and the code is in PBP, a good read to be sure. http://www.picbasic.co.uk/forum/showthread.php?t=6033 BTW that 74HC425 is either very obscure or the number is either been <font color=red>misread</font color> or is someone's house numbered device, without seeing the schematic it is hard to guess what it really is.<br> Mackrackit, thanks for that last post, a good study.
    Last edited by Archangel; - 5th August 2008 at 00:22.
    If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
    .
    Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
    .
    There simply is no "Happy Spam" If you do it you will disappear from this forum.

Similar Threads

  1. Conway's Game Of Life
    By wellyboot in forum mel PIC BASIC Pro
    Replies: 45
    Last Post: - 28th May 2020, 06:14
  2. 8x8 Scrolling LED display (Simple example)
    By wellyboot in forum Code Examples
    Replies: 68
    Last Post: - 11th July 2013, 05:03
  3. Replies: 2
    Last Post: - 14th July 2008, 22:11
  4. 245 Led Matrix Display (as constructed by Magu)
    By magu in forum Code Examples
    Replies: 11
    Last Post: - 29th June 2007, 00:07
  5. LCD will not start
    By btaylor in forum mel PIC BASIC Pro
    Replies: 49
    Last Post: - 24th May 2007, 02:30

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts