[Solved] Compilation error: expected constructor, destructor, or type conversion before ‘;’ token [closed]


Your issue is that you are confusing the compiler:

spi_start();
initialize();

Are function calls and not function declarations.
Please include the return types:

void spi_start();
void initialise();

2

solved Compilation error: expected constructor, destructor, or type conversion before ‘;’ token [closed]