AnsweredAssumed Answered

How to use STM8S001J3 portb

Question asked by Sang hyeon Jeong on Oct 31, 2017
Latest reply on Dec 27, 2017 by Szymon Panecki

Hi

 

I am using STM8S001J3 controller on my project and I'm have some problem about it, 

5,6 pin GPIOB It doesn't work.

I don't know how to solve it.

Please help me..

 

// my source code

GPIO_DeInit(GPIOB);

GPIO_Init(GOIOB, GPIO_PIN_ALL, GPIO_MODE_OUT_OD_HIZ_SLOW)

 

while(1)

{

     GPIO_Write(GPIOB, 0x30);

}

 

 

I am using STVD and IAR for program development. Thanks in advance.

Outcomes