Search found 6 matches

Return

by Jan Lichtenbelt
Fri Dec 24, 2010 9:02 am
Jump to forum
Jump to topic

Christmas Sudoku

Hello All, Just for Christmas a Sudoku in Flowcode. It is not an easy one. So if your are lonely, take your time to solve it. If you have friends and family at home, take care of them. Mery Christmas Jan Lichtenbelt Remarks: 1) Only Flowcode simulation has been tested 2) Suggestion to solve can be f...
by zen
Mon Jan 03, 2011 2:43 pm
Jump to forum
Jump to topic

Bit Bang PWM for RGB common cathode LED using ADC

I thought I would post this FCV4 program up for anybody needing a program to control a RGB LED's color using bit banged pwm outputs that are controlled using ADC inputs from two potentiometers. I looked for a while trying to find an example of a program like this and I had no luck. This program shou...
by Benj
Fri Feb 25, 2011 9:30 am
Jump to forum
Jump to topic

Re: PWM. Problem

Hello,

If your range of your floating point variable is between 0 and 255 then you would first multiply by 4 to get a value between 0 and 1023. Once you have done this you can use the float to int function in the calculation icon to convert the variable type.

I've included a quick example.
by medelec35
Tue Aug 16, 2011 5:58 pm
Jump to forum
Jump to topic

Re: PIC18F4431 PWM

Hi Tristan,
Take a look at all of this thread, as it may help?
viewtopic.php?f=26&t=7319&start=0

Martin
by medelec35
Tue Aug 16, 2011 8:00 pm
Jump to forum
Jump to topic

Re: PIC18F4431 PWM

Hi Tristan I have been looking at other chips and based on how I think your example shows, an i right in saying that If the chip has multiple CCP pins it should work. Yes your correct. Its only the chips with multiple CCP channels that will work with the posted method. Luckily this is easy to find t...
by Benj
Fri Dec 09, 2011 11:49 am
Jump to forum
Jump to topic

Re: Flowcode V5 PWM

Confirmed, the PWM count for v5 has been upped to 10 channels as seen on some larger 18F devices. For the release only the CCP type PWMs will be supported. Other PWM types may become supported after the initial v5 release on request.