Search found 5 matches

by hvandervinne
Mon Oct 03, 2016 2:16 pm
Forum: Flowcode V6
Topic: Again... PWM with LED on E-block
Replies: 7
Views: 5522

Re: Again... PWM with LED on E-block

Hi all, I am still working on my pwm-problem. Attached is a screenshot of the program. In there, you can see the dashboard and systems panel as well. Do I need to make a connection of some kind between the CAN-module and the PWM-module? The program turns the leds on and off for three times, each tim...
by hvandervinne
Thu Sep 29, 2016 10:56 am
Forum: Flowcode V6
Topic: Again... PWM with LED on E-block
Replies: 7
Views: 5522

Re: Again... PWM with LED on E-block

Hi Martin and the others, See the attached code. The LED's are flashing three times for about a second on (and about a second off), so I think that is working okay. However, when I press a switch on the other PIC-microboard, the LED will turn on at full strength. It is not dimmed, as I expected. Are...
by hvandervinne
Wed Sep 28, 2016 1:31 pm
Forum: Flowcode V6
Topic: Again... PWM with LED on E-block
Replies: 7
Views: 5522

Re: Again... PWM with LED on E-block

Thanks, guys, for helping me. But I do not have a solution yet. I retried different duty-settings and also saved the PIC_CAL_PWM.c in the correct folder, but I see no difference. I hope you have another idea. The program I attached in the original post, should it work correctly? Or am I making one o...
by hvandervinne
Wed Sep 28, 2016 12:04 pm
Forum: Flowcode V6
Topic: Again... PWM with LED on E-block
Replies: 7
Views: 5522

Re: Again... PWM with LED on E-block

Hi Martin, Thanks for your quick reply. I read about the duty-value in other posts and changed the value several times. I tried 50 and 100, but I cannot see any difference in brightness, so I think I am (also) doing something else wrong. I am not sure how the chip will react to the code, that, I try...
by hvandervinne
Wed Sep 28, 2016 11:05 am
Forum: Flowcode V6
Topic: Again... PWM with LED on E-block
Replies: 7
Views: 5522

Again... PWM with LED on E-block

Hello, I am very new with programming within FlowCode (and my English is not my native language, as you can read) and I know I am asking a question which has been asked before (multiple times). However, I do not seem to find an answer suitable for my problem. I want to control the brightness of a LE...