-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ver 3.1.3 SPI spi_tx_data -- 'SPITransfer' does not name a type; #107
Comments
That part of the library is commented out because Arduino core developers are stupid and have different SPI APIs across different boards - making SPI data transfer libraries like this super difficult. Can post the entire error? |
Thanks for Response: Command: sendSize = myTransfer.txObj(testStruct, sendSize); Command: sendSize = myTransfer.txObj(arr, sendSize); I am using ESP32 Dev Kit C |
This error doesn't make sense considering the first argument for SerialTransfer/src/SPITransfer.h Lines 27 to 49 in c596233
I honestly don't know what's going wrong - perhaps someone on the Arduino forum would be of more help |
I just revisted .h and .cpp There is some stuff like this: This seems to be Comment but not marked as comment. This one: Had I been this expert to do myself, I would be developing libraries not using them , LoL |
Describe the bug
Compile/Verify Error: 'SPITransfer' does not name a type; did you mean 'spiTransfer'?
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Expample should compile without errors
Desktop (please complete the following information):
Edit:
I tried to look at .h and .cpp and found Comment out codes. I un comment all of it, but still was unable to use library. Some procedures were still not found by the Compiler.
-- I have used library for UART/Serial ports both Hard and Soft works perfectly, just getting this error while trying on SPI.
The text was updated successfully, but these errors were encountered: