Shiftout


Closed Thread
Results 1 to 2 of 2

Thread: Shiftout

  1. #1
    f6ggy's Avatar
    f6ggy Guest

    Default Shiftout

    I does not include/understand how to place the ENB(enable) signal with the following configuration:
    - function of signal ENB (enable)
    http://f6ggy.dyndns.org/temp/img032.gif

    -a part of the fichier.bas (pic BASIC pro) PORTA.4 = ENB
    http://f6ggy.dyndns.org/temp/img033.gif

  2. #2
    Join Date
    Jul 2003
    Posts
    2,358


    Did you find this post helpful? Yes | No

    Default

    Just as in the description and the example code, the ENB pin is ALWAYS kept LOW (make sure your code initialises this pin to be Low at the start), pulsing HIGH momentarily (in the code example it goes high for 100uS) after your ShiftOut statement. That's so the data that you've just shifted is actually transferred into the chip proper on completion. In the code example, PORTA.4 is obviously connected to the ENB pin. Now PORTA.4 is normally an open-drain on a PIC, but this doesn't matter because the ENB pin on your chip has an integral pull-up Resistor.

    Melanie

Similar Threads

  1. 7 Segment Displays and MAX7219
    By Bill Legge in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 31st October 2010, 18:30
  2. Using MAX 7221 LED driver
    By Nick in forum mel PIC BASIC
    Replies: 15
    Last Post: - 21st October 2010, 19:31
  3. Smart Star (how to use shift registers)
    By mackrackit in forum Code Examples
    Replies: 3
    Last Post: - 30th November 2008, 20:06
  4. PC Keyboard question
    By HatchetHand in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 18th September 2007, 06:03
  5. Shorter Subroutines for MAX7219
    By exelanoz in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 16th March 2007, 11:35

Members who have read this thread : 1

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