Hey there.
i need some help with my raspberry pi 3+ and piface digtital 2.
I have made a control box with a lot of buttons (in) and a 24 volt led light (out)
i have used piface digital 2 emulator and seen that all mine in and out putts work.
Well I would to do it in node red.
I can't get it to work, what do I do wrong.??
I get this error whit spi off
8 Jul 15:48:42 - [error] [rpi-piface in: 11c41607.99f6fa] Error: Command failed: gpio -p mode 202 tri
Unable to open SPI device: No such file or directory
8 Jul 15:48:46 - [error] [rpi-piface out: de506c6b.6756d] Error: Command failed: gpio -p write 201 1
Unable to open SPI device: No such file or directory
i get this error whit spi on
Error: "gpio load spi" command failed. Check device tree is disabled.
8 Jul 16:11:23 - [warn]
I have been reading and reading
and my progam must start with one of these download inside
Wiring Pi
http://wiringpi.com/reference/setup/
There are four ways to initialize wiring.
int wiringPiSetup (void);
int wiringPiSetupGpio (void);
int wiringPiSetupPhys (void);
int wiringPiSetupSys (void);
One of the setup functions must be called at the start of your program or your program will fail to work correctly. You may experience symptoms from simply not working to problems and timing issues.
do the node-red starte one of them op when it starts?
I hope someone who can help
etc. MM