Skip to content

How can I use this libary for Banana Pi M2 Berry? #183

Description

@hexzhen3x7

i use:

var rpio = require('../lib/rpio');
rpio.init({mock: 'raspi-3'});

rpio.init({mapping: 'gpio'});
rpio.open(17, rpio.OUTPUT, rpio.LOW); // Opens GPIO 17 as output and set to low
rpio.write(17, rpio.HIGH); // Setze GPIO 17 auf HIGH*/

console.log('GPIO 17 im Mock-Modus auf HIGH gesetzt');

Im using GPIO Pin 17 (Pin 11)
what I need to do?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions