16f877 generate pwm according 2 analog input


Closed Thread
Results 1 to 7 of 7

Hybrid View

  1. #1
    Join Date
    Dec 2008
    Posts
    2


    Did you find this post helpful? Yes | No

    Default pwm and SPI at the same time

    Hello again,

    For my buck problem, I found a good example. With little changes I applied to my circuit. Now it is working. This circuit was maintaining the voltage.It was infiinite loop.

    Now, I want to use SPI module of 16f877 for TLC5941 led driver IC. It uses CLK, SDO outputs continuously. This should be infinite loop too.

    May be it will be a silly question. But is there any way to use same pic for 2 different infnite loops? Do I have to use 2 pics. I can use, but if it is available I want to do it with one pic. Because I think to use rgb leds. And if I use 2 pics for one color, it will increse the total number of pics in my whole project.

  2. #2
    Join Date
    Apr 2009
    Posts
    1


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by madxice View Post
    Hello again,

    For my buck problem, I found a good example. With little changes I applied to my circuit. Now it is working. This circuit was maintaining the voltage.It was infiinite loop.
    How nice you found code, but why not share it so we can follow.

  3. #3
    Join Date
    Jul 2009
    Location
    Worcester South Africa
    Posts
    18


    Did you find this post helpful? Yes | No

    Default

    Yes I would also like to see that code

Similar Threads

  1. Variable PWM PIC18F2431
    By trr1985 in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 12th June 2009, 06:03
  2. How to generate sine PWM using 16f877
    By kvrajasekar in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 12th September 2008, 08:40
  3. Microcontroller with 2 way paging application problem
    By oneohthree in forum mel PIC BASIC Pro
    Replies: 30
    Last Post: - 20th April 2007, 17:27
  4. 10bits adc using 16f877
    By sixty9sandals in forum mel PIC BASIC
    Replies: 7
    Last Post: - 8th March 2007, 18:23
  5. Can anyone help a beginner in a struggle?
    By douglasjam in forum mel PIC BASIC
    Replies: 1
    Last Post: - 5th May 2005, 23:29

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