2022-01-19 09:56 AM
2022-01-25 02:05 AM
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);
2022-01-25 05:20 AM
Thank you!
I already solve my problem last night, the module had a problem with the SHUTDOWN - Mode
2022-01-25 05:37 AM
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