![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Johnny-Five IO Plugin for the Next Thing Co. C.H.I.P.
curl
: sudo apt-get install curl
sudo apt-get install build-essential
chip
user to i2c
group: sudo adduser chip i2c
NOTE: Some GPIO pins require root
or sudo
.
npm install chip-io johnny-five
NOTE: Must be run on the C.H.I.P. itself.
var five = require('johnny-five');
var chipio = require('chip-io');
var board = new five.Board({
io: new chipio()
});
board.on('ready', function() {
// do Johnny-Five stuff
});
See examples folder as well as Johnny-Five examples.
See Johnny-Five API docs.
Johnny-Five Compatible Name | Number | Supported Modes | Requires root or sudo | Info |
---|---|---|---|---|
LCD-D2 | 17 | Input | ✓ | |
PWM0 | 18 | Input, Output, PWM | ✓ | |
LCD-D4 | 19 | Input, Output | ✓ | |
LCD-D3 | 20 | Input, Output | ✓ | |
LCD-D6 | 21 | Input, Output | ✓ | |
LCD-D5 | 22 | Input, Output | ✓ | |
LCD-D10 | 23 | Input, Output | ✓ | |
LCD-D7 | 24 | Input, Output | ✓ | |
LCD-D12 | 25 | Input, Output | ✓ | |
LCD-D11 | 26 | Input, Output | ✓ | |
LCD-D14 | 27 | Input, Output | ✓ | |
LCD-D13 | 28 | Input, Output | ✓ | |
LCD-D18 | 29 | Input, Output | ✓ | |
LCD-D15 | 30 | Input, Output | ✓ | |
LCD-D20 | 31 | Input, Output | ✓ | |
LCD-D19 | 32 | Input, Output | ✓ | |
LCD-D22 | 33 | Input, Output | ✓ | |
LCD-D21 | 34 | Input, Output | ✓ | |
LCD-CLK | 35 | Input, Output | ✓ | |
LCD-D23 | 36 | Input, Output | ✓ | |
LCD-VSYNC | 37 | Input, Output | ✓ | |
LCD-HSYNC | 38 | Input, Output | ✓ | |
LCD-DE | 40 | Input, Output | ✓ | |
LRADC | 51 | Analog | ✓ | |
XIO-P0 | 53 | Input, Output | Connected to the built-in PCF8574A IO extender | |
XIO-P1 | 54 | Input, Output | Connected to the built-in PCF8574A IO extender | |
XIO-P2 | 55 | Input, Output | Connected to the built-in PCF8574A IO extender | |
XIO-P3 | 56 | Input, Output | Connected to the built-in PCF8574A IO extender | |
XIO-P4 | 57 | Input, Output | Connected to the built-in PCF8574A IO extender | |
XIO-P5 | 58 | Input, Output | Connected to the built-in PCF8574A IO extender | |
XIO-P6 | 59 | Input, Output | Connected to the built-in PCF8574A IO extender | |
XIO-P7 | 60 | Input, Output | Connected to the built-in PCF8574A IO extender | |
CSIPCK | 67 | Input | ✓ | |
CSICK | 68 | Input | ✓ | |
CSIHSYNC | 69 | Input | ✓ | |
CSIVSYNC | 70 | Input, Output | ✓ | |
CSID0 | 71 | Input, Output | ✓ | |
CSID1 | 72 | Input, Output | ✓ | |
CSID2 | 73 | Input, Output | ✓ | |
CSID3 | 74 | Input, Output | ✓ | |
CSID4 | 75 | Input, Output | ✓ | |
CSID5 | 76 | Input, Output | ✓ | |
CSID6 | 77 | Input, Output | ✓ | |
CSID7 | 78 | Input, Output | ✓ | |
I2C | I2C | Uses I2C port 2 (TWI2-SCK and TWI2-SDA). Address 0x38 is used by the built-in PCF8574A IO extender |
Type | Usage | Johnny-Five type | Notes |
---|---|---|---|
Battery Voltage | new chipio.BatteryVoltage(); | five.Sensor | Reads battery voltage from the AXP290 |
Internal Temperature | new chipio.InternalTemperature(); | five.Thermometer | Reads internal temperature from the AXP290 |
Onboard Button | new chipio.OnboardButton(); | five.Button | Use onboard button (beside LCD-DE pin) connected to the AXP290 |
Status LED | new chipio.StatusLed; | five.Led | Controls status LED connected to GPIO2 on the AXP290 |
FAQs
Johnny-Five IO Plugin for the Next Thing Co. C.H.I.P.
The npm package chip-io receives a total of 4 weekly downloads. As such, chip-io popularity was classified as not popular.
We found that chip-io demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.