Skip to content

Correcting bug with SPI communication mask#1

Open
gavinlyonsrepo wants to merge 1 commit into
DarekKrawczyk:mainfrom
gavinlyonsrepo:main
Open

Correcting bug with SPI communication mask#1
gavinlyonsrepo wants to merge 1 commit into
DarekKrawczyk:mainfrom
gavinlyonsrepo:main

Conversation

@gavinlyonsrepo

Copy link
Copy Markdown

Hi

I think there is a bug on line 55, BMP.cpp
uint8_t readRegister = reg |= 0b1000000; // AND with 0b1000000 for read operation in SPI comunication.
Should be 0x80 not 0x40, missing a zero.

regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant