Go to advanced search

by rdaems
Tue Aug 01, 2017 7:54 am
Forum: Beginners
Topic: GPIO error
Replies: 6
Views: 886

Re: GPIO error

I'm sorry, I forgot to mention the code is running in a docker container. Outside the container the code is working and the user (pi) is part of the group 'gpio'. But inside the container it's not working, and the user (docker runs as root) is not part of the group. HOWEVER, I've several pi's runni...
by rdaems
Tue Aug 01, 2017 7:14 am
Forum: Beginners
Topic: GPIO error
Replies: 6
Views: 886

Re: GPIO error

I'm sorry, I forgot to mention the code is running in a docker container. Outside the container the code is working and the user (pi) is part of the group 'gpio'. But inside the container it's not working, and the user (docker runs as root) is not part of the group. HOWEVER, I've several pi's runnin...
by rdaems
Fri Jul 28, 2017 4:59 pm
Forum: Beginners
Topic: GPIO error
Replies: 6
Views: 886

Re: GPIO error

I'm using javascript, the code is as following:

Code: Select all

const onoff = require('onoff');
const Gpio = onoff.Gpio;
const gpioPin = new Gpio('17', 'out');
gpioPin.writeSync(0)
by rdaems
Fri Jul 28, 2017 3:04 pm
Forum: Beginners
Topic: GPIO error
Replies: 6
Views: 886

GPIO error

Hello,

When using the gpio I get following error:
{
"errno": -30,
"code": "EROFS",
"syscall": "open",
"path": "/sys/class/gpio/gpio17/value"
}

Does anyone have an idea what this means?

Br, Rob
by rdaems
Tue Aug 02, 2016 6:05 am
Forum: Raspbian
Topic: Raspistill not working in docker container
Replies: 2
Views: 3068

Re: Raspistill not working in docker container

Indeed, adding

Code: Select all

--device=/dev/vchiq
solved the problem.

Thanks.

Br, Rob
by rdaems
Fri Jul 29, 2016 12:55 pm
Forum: Raspbian
Topic: Raspistill not working in docker container
Replies: 2
Views: 3068

Raspistill not working in docker container

Hello, I'm trying to get the a simple docker image (which support raspistill) running on the raspbian jessie lite OS. I enabled camera support via raspi-config and is working. The problem is that I get the error : "* failed to open vchiq instance" when I run raspistill in the docker container. My do...
by rdaems
Tue Jun 07, 2016 5:18 pm
Forum: Beginners
Topic: Video caputure/Record raspberry pi screen
Replies: 5
Views: 1022

Re: Video caputure/Record raspberry pi screen

Hello,

Is there a driver available for Roxio Game Capture HD PRO which can be used on the Pi?

Br, Rob
by rdaems
Thu May 23, 2013 3:00 pm
Forum: Java
Topic: Pi4J: MCP23016
Replies: 1
Views: 1167

Re: Pi4J: MCP23016

Hello,

WiringPi supports the MCP23016 hardware, but am I correct that the Pi4J has to implement the code for the MCP23016 before I can use the Pi4J with MCP23016 ?

It's not so easy as just adapting the MCP23017 class(es). ??

Is this correct?

BR, Rob
by rdaems
Tue May 21, 2013 9:06 am
Forum: Java
Topic: Pi4J: MCP23016
Replies: 1
Views: 1167

Pi4J: MCP23016

Hello, Has someone the MCP23016 version of : https://github.com/Pi4J/pi4j/blob/master/pi4j-gpio-extension/src/main/java/com/pi4j/gpio/extension/mcp/MCP23017GpioProvider.java and https://github.com/Pi4J/pi4j/blob/master/pi4j-gpio-extension/src/main/java/com/pi4j/gpio/extension/mcp/MCP23S17Pin.java Th...

Go to advanced search