Open Nahusha-Karnam opened 4 months ago
Have you used SPI for any other project?
If the spi library was written for Atmel boards you cannot use it with CH32 boards.
Further suggestion would be to open spi_com.c and see where the definitions are being called.
https://github.com/openwch/arduino_core_ch32/blob/main/libraries/SPI/examples/SPIFlash/SPIFlash.ino can you look into this, does this code need to be flashed before or anything?
I've built a flight controller with arduino nano and nrf24l01 PA LNA module this is the code for reciever
I tried to compile this code in arduino IDE, i had uploaded other codes before it worked, but i am uploading this code with CH32V00x selected, and when i tried i had issues with Servo.h library and then i removed it as i can write that library on my own, but i had other problems removing servo.h library this is the code that i tried to compile
This is the error i am getting
then i got this error, i wanted help to interface nrf24l01 PA LNA module with either arduino IDE or platform.io in vscode