Search found 2 matches

by simone.c
Thu Oct 30, 2014 11:08 am
Forum: General Support
Topic: Export data to '.txt'
Replies: 1
Views: 1554

Export data to '.txt'

How I can export a data array to .txt file? Thank you for your attention to this matter.
by simone.c
Mon Oct 20, 2014 4:50 pm
Forum: STM32 Support
Topic: PWM phase shift
Replies: 1
Views: 2659

PWM phase shift

Hi I'm using the STM32f3discovery. I have generate 6 pwm signals but they are in phase. How can I shift them?
My code is the follow:

#include "ch.h"
#include "hal.h"

static uint32_t DUTY=5000;

static PWMConfig pwmcfg = {
1000000, /* 100kHz PWM clock frequency. */
1000, /* Initial ...