Hi Jeff > To get a 10kHz square wave, you need to have BASE_PERIOD 50000 or > lower. Then simply set up a pwmgen.
I guessed I need some PWM stuff, but it´s not that simple to get started with the HAL syntax. > Here's a starting point for you. Thank you very much. cu Flo ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users