USART+PWM Problem


Closed Thread
Results 1 to 40 of 44

Hybrid View

  1. #1
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by alex-x View Post
    it is ok i solved my problem and made 4 chanel dmx512 decoder i have found some example code for proton and basic too you can see them
    Proton Basic will never compile with PBP...
    And it may work, but do you understand how it works so you can customize it to your needs...

  2. #2
    Join Date
    May 2007
    Posts
    16


    Did you find this post helpful? Yes | No

    Default dmx

    @skimask you are right this are in proton but can translate to pbp

    Yes i understand how does it work , i know dmx since long time but not in pbp i made my project before in asm and it was easy to find example asm code to make dmx decoder and transmitter in microchip site also they give it in asm examples,

    but when i want to make it in PBP i had some problem on interupts and to receive more chanel but now i understand how does it workin PBP too

  3. #3
    Join Date
    May 2007
    Posts
    16


    Did you find this post helpful? Yes | No

    Default usart

    Yes we canmake it so as a 1 chanel and workşng no problem but if i want to use it 4 or 8 chanel then i will need a pwm and pic has max 3 pwm no more how can we use and make other chanels pwm if i want to use 5 chanel dmx data for led inensty?Then i will need more pwm and i have to make it with code i think*

  4. #4
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by alex-x View Post
    Yes we canmake it so as a 1 chanel and workşng no problem but if i want to use it 4 or 8 chanel then i will need a pwm and pic has max 3 pwm no more how can we use and make other chanels pwm if i want to use 5 chanel dmx data for led inensty?Then i will need more pwm and i have to make it with code i think*
    SSPWM...already been mentioned here...in this thread...

  5. #5
    Join Date
    May 2007
    Posts
    16


    Did you find this post helpful? Yes | No

    Default usart

    SSPWM ??

    how is it?

  6. #6
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by alex-x View Post
    SSPWM ??

    how is it?
    Did you search for it yet?

  7. #7
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  8. #8
    Join Date
    Dec 2008
    Posts
    8


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by alex-x View Post
    SSPWM ??

    how is it?
    MiBAM is much smoother (personal opinion). You can dim 24 pins with very little processing power. Send the value and it retains it until you change it.

Similar Threads

  1. Variable PWM PIC18F2431
    By trr1985 in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 12th June 2009, 06:03
  2. byte Tx w/ USART 16f876a problem
    By GargamelDigi in forum mel PIC BASIC
    Replies: 2
    Last Post: - 15th July 2008, 05:50
  3. USART Problem , but don't know where, in pc? or in PIC?
    By precision in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 15th July 2007, 08:12
  4. problem with USART
    By leemin in forum Serial
    Replies: 4
    Last Post: - 11th December 2006, 17:56
  5. PWM problem CCP2 port
    By NL2TTL in forum mel PIC BASIC Pro
    Replies: 10
    Last Post: - 19th September 2006, 23:34

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