cancel
Showing results for 
Search instead for 
Did you mean: 

I have a problem with my 8x8 click module, I tried everything with my Stm32 F4.. and I cant get it work. Can someone PLEASE help me?

SSimi.1
Associate II
 
12 REPLIES 12
Peter BENSCH
ST Employee

OK, this is done with a bit-shift operation, which you can of course also insert directly as a parameter.

So, if you want to move bit7 (MSB) 7 bit positions to bit0 to transfer it to the GPIO, as in your example, you should use in line 86:

HAL_GPIO_WritePin(GPIOB, GPIO_PIN_5, (byte&0x80) >>7);

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
SSimi.1
Associate II

Thank you!

I already solve my problem last night, the module had a problem with the SHUTDOWN - Mode

Peter BENSCH
ST Employee

Great!

When your question is answered, please mark this topic as answered by choosing Select as Best for the preferred answer. This will help other users find that answer faster.

/Peter

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.