High Speed Serial Comm PC - PIC and PIC - PIC


Closed Thread
Results 1 to 24 of 24

Hybrid View

  1. #1
    Join Date
    Jan 2007
    Posts
    44


    Did you find this post helpful? Yes | No

    Default

    Hi. Yes I know. I don't know why my compiles uses those commands. A relative of mine taught me basic and he tought to me like that. Is it at least readable by you guys??? I hope so!!!
    Manuel

  2. #2
    Join Date
    Jan 2007
    Posts
    44


    Did you find this post helpful? Yes | No

    Default

    Hey by the way, in the RC code, there is an extra 0 that should be there.
    Instead of :

    FOR X = 0 TO 7 'INITIATE PWMDATA
    PWMDATA[X] 0 = 255
    NEXT X
    INDEX = 0

    It should be:

    FOR X = 0 TO 7 'INITIATE PWMDATA
    PWMDATA[X] = 255
    NEXT X
    INDEX = 0

    Thanks
    Manuel

  3. #3
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by manumenzella View Post
    Hi. Yes I know. I don't know why my compiles uses those commands. A relative of mine taught me basic and he tought to me like that. Is it at least readable by you guys??? I hope so!!!
    Manuel
    Maybe because it's not PBP?

  4. #4
    Join Date
    Jan 2007
    Posts
    44


    Did you find this post helpful? Yes | No

    Default

    Ohhh Youre right! This was my uncle computer and he left the compiler installed!!! It says PBP compiler, but in About... it says proton!!!!!!!!!!!!!!!!!
    Its quite similar though. The language, i mean.
    Manuel

  5. #5
    Join Date
    Feb 2005
    Location
    Kolkata-India
    Posts
    563


    Did you find this post helpful? Yes | No

    Default Thanks Henrik

    Hi,

    Thanks Henrik for correcting me.

    BTW manuel could you please describe your project in a little bit more detail.
    Regards

    Sougata

  6. #6
    Join Date
    Jan 2007
    Posts
    44


    Did you find this post helpful? Yes | No

    Default

    Hi. Yes of course. Im sorry i didnt before.
    What I want to do is a 4x4x4 RGB LED cube that is commanded, via serial, from a computer. Each color of each RGB LED will be PWMed (4 bits) so I would need to receive 96 bytes (4 bits per LED).
    Right now, instead of using a computer to send the data, I would like to try to do it with another PIC, so as to simplify it for now.
    Thanks again!!!
    Manuel

Similar Threads

  1. Replies: 11
    Last Post: - 12th July 2008, 02:36
  2. Pic to pic interrupt ans serial comm
    By ronjodu in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 10th May 2008, 22:43
  3. pc to pic serial comm and i2c eeprom
    By elektroline in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 2nd November 2006, 05:51
  4. Replies: 5
    Last Post: - 20th March 2006, 01:34
  5. Serial Pic to Pic using HSER
    By Chadhammer in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 11th March 2005, 23:14

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