Skip to main content
enmirc
Associate III
May 19, 2017
Question

STM8S swim GPIO ??

  • May 19, 2017
  • 1 reply
  • 930 views
Posted on May 19, 2017 at 22:19

STM8S : SWIM pin as GPIO does not work for me, please explain how to make it work .. 

Situation: vcc,  10k,  swim, button, gnd

main() { 

CFG->GCR = 0x01;

GPIO_Init(GPIOD, D1, GPIO_MODE_IN_PU_NO_IT); 

..

}

software does not works well on this swim pin .. why ? 

             best regards M.

mailto:vitabreviss@gmail.com

    This topic has been closed for replies.

    1 reply

    Tesla DeLorean
    Guru
    May 22, 2017
    Posted on May 22, 2017 at 16:40

    Please move this to the STM8 forum, thanks.

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..