STM8 MCUs

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

point number

Posted on December 27, 2010 at 14:10hello, I have a problem with the point number. for exemple 0.9383     0.7445      0.6478      0.5906. How to leave his number in the GPIO.

nad by Associate II
  • 279 Views
  • 1 replies
  • 0 kudos

4x3 keypad improved with autorepeat and debounce

Posted on December 24, 2010 at 22:20Hi all, Here's an improved code for the 4x3 keypad with debounce and autorepeat. With STM8S 2MHz clock it performs pretty close to the PC keyboard. The action() function is out from the keypad management state ma...

spiovan9 by Associate II
  • 282 Views
  • 2 replies
  • 0 kudos

examples/TIM2/TIM2_Input_Capture/main.c

Posted on December 16, 2010 at 17:29Hi all, I was studying the examples on timers and so on. I came across the source ''main.c'' in the STM8S Firmware Library package, examples/TIM2/TIM2_Input_Capture/main.c, a piece of which is shown below. Th...

spiovan9 by Associate II
  • 722 Views
  • 5 replies
  • 0 kudos

Configurable clock output

Posted on December 13, 2010 at 20:41I would like some information on configuring Port E0 to be a clock output of 4Mhz. Is their an example someplace. charles

carnett1 by Associate II
  • 380 Views
  • 3 replies
  • 0 kudos

CCO

Posted on December 14, 2010 at 13:49has anybody ever used CCO, the configurable Clock Output?  I think I initialized it.  I enabled it.  Everything compiled but I never did anything that would set the frequency.  The output is a high.  Does anyone k...

carnett1 by Associate II
  • 267 Views
  • 2 replies
  • 0 kudos

IO ports

Posted on November 12, 2010 at 14:33I intialize Port A3 as a push pull output but when I call writeHigh or writeLow nothing changes on that output.  I am using a multimeter to read the output on pin 9 of cn1 charles

carnett1 by Associate II
  • 450 Views
  • 5 replies
  • 0 kudos

Adding files from other folders

Posted on December 09, 2010 at 17:22I have a terminal program up and running.  I am messing arournd with changing TIM3 output on channel 2.  Everything is going well.  However when I try to use TIM2 I don't have the right prototype in stm8s_tim2.c o...

carnett1 by Associate II
  • 266 Views
  • 0 replies
  • 0 kudos