Im trying to add an SPI device in Codesys on a Raspberry Pi 4. I ultimately want to use an Arduino Mega, but am setting up the project just to use a MCP3008 because its a device that is already included. The problem is that I get 3 errors when trying to build the project and download it to the controller. I'm very new to Codesys, so if this is an obvious fix I appreciate any pointer in the right direction.
Im trying to add an SPI device in Codesys on a Raspberry Pi 4. I ultimately want to use an Arduino Mega, but am setting up the project just to use a MCP3008 because its a device that is already included. The problem is that I get 3 errors when trying to build the project and download it to the controller. I'm very new to Codesys, so if this is an obvious fix I appreciate any pointer in the right direction.