AnsweredAssumed Answered

STM8S swim GPIO ??

Question asked by mickey on May 19, 2017
Latest reply on May 22, 2017 by Clive One

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.

vitabreviss@gmail.com 

Outcomes