User Activity

Posted on March 23, 2013 at 18:04 I'm trying to compare an input string, and using the COSMIC C environment. I've had no luck with their supplied strcmp function, so I gave up and wrote my own... But still wondering what is wrong... ...
Posted on January 13, 2013 at 18:58 I wanted to see how fast the gpio pins can be 'pulsed', so I created the following piece of code: /* Switch to 16Mhz Crystal Osc clock */ CLK_ClockSwitchConfig(CLK_SWITCHMODE_AUTO, CLK_SOURCE_HSE...
Posted on July 07, 2012 at 20:24I found something very funny/weird when using TIM1 to measure the frequency of a signal: Set TIM2 and TIM1 to use the same prescaler (e.g. 8). TIM2 is configured to generate PWM with period 10000, in this case resulti...
Posted on June 13, 2012 at 21:02The original post was too long to process during our migration. Please click on the attachment to read the original post.
Posted on February 20, 2012 at 12:46I was trying to get the ADC working on an STM8S discovery, but left and right alignment setting of the ADC gives different results. In the file stm8s_adc1.c of the standard firmware library there is:/* Left alignm...