pic basic pro for synthetiseur


Closed Thread
Results 1 to 2 of 2
  1. #1
    f6ggy's Avatar
    f6ggy Guest

    Default pic basic pro for synthetiseur

    ( thanks MELANIE for reponse at last thread)
    I will want your opinion by looking at the following config, to say to me if SHIFTOUT can be appropriate thank you

    please see this two links

    http://f6ggy.dyndns.org/temp/img014.gif
    http://f6ggy.dyndns.org/temp/img010.gif

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


    Did you find this post helpful? Yes | No

    Default

    Yes, you are correct that SHIFTOUT is the PBP command to use.

    Example...

    DataPin var PortA.0
    ClockPin var PortA.1

    SW var Byte
    N var Word
    A var Byte

    To output the correct 19-bit sequence you could execute...

    ShiftOUT DataPin,ClockPin,1,[SW\2,N\10,A\7]

    or use the three individual lines as shown in img010.gif.

    Also regarding img010.gif, there's no point in having variables SW and A as words if they're never going to be bigger than 2 and 7 bits each respectively.

    Melanie

Similar Threads

  1. Looking at pic basic pro symbol values in mplab 8.15a simulator
    By ukemigrant in forum mel PIC BASIC Pro
    Replies: 10
    Last Post: - 16th May 2009, 13:18
  2. I want to buy PIC BASIC PRO...
    By simransingh in forum General
    Replies: 2
    Last Post: - 30th October 2007, 17:13
  3. PIC BASIC or PIC BASIC PRO
    By kirkmans in forum USB
    Replies: 3
    Last Post: - 20th April 2007, 00:52
  4. Replies: 5
    Last Post: - 17th January 2006, 19:26
  5. How to use 93C46 Type EEPROM using PIC Basic PRo
    By in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 1st April 2003, 04:07

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