Skip to main content
SSimi.1
Associate II
January 19, 2022
Solved

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?

..

This topic has been closed for replies.
Peter BENSCH
Peter BENSCHBest answer
ST Technical Moderator
January 25, 2022

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.

12 replies

SSimi.1
SSimi.1Author
Associate II
January 25, 2022

Thank you!

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

Peter BENSCH
ST Technical Moderator
January 25, 2022

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.