Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
# resin.io + picamera + node.js | ||
# balena + picamera + node.js | ||
|
||
This is a simple app that demonstrates how to get started with the raspberry pi camera module, using node.js and [resin.io](https://resin.io/). All it does is snap one photo and then stores it in the /data directory on the pi. | ||
This is a simple app that demonstrates how to get started with the raspberry pi camera module, using node.js and [balena](https://balena.io/). All it does is snap one photo and then stores it in the /data directory on the pi. | ||
|
||
**Before you get started**, you will need to make some changes to the downloaded RPI/RPI2 image to enable the camera, instructions here -> http://docs.resin.io/#/pages/hardware/i2c-and-spi.md#raspberry-pi-camera-module | ||
**Before you get started**, you will need to make some changes to the downloaded RPI/RPI2 image to enable the camera, instructions here -> http://docs.balena.io/#/pages/hardware/i2c-and-spi.md#raspberry-pi-camera-module | ||
|
||
The /data directory allows the data, in this case the image, to presist between code deployments with resin.io. It then just sits in an infinite loop, this loop allows you to use the web terminal session to poke around on the pi itself and see that your photo was successfully saved in the /data directory. | ||
The /data directory allows the data, in this case the image, to presist between code deployments with balena. It then just sits in an infinite loop, this loop allows you to use the web terminal session to poke around on the pi itself and see that your photo was successfully saved in the /data directory. | ||
|
||
This project depends on raspistill, this is installed the majority of our raspbian/Debian base images for the Raspberry Pi family. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"name": "resin-picamera", | ||
"name": "balena-picamera", | ||
"version": "0.0.1", | ||
"main": "app.js", | ||
"dependencies": { | ||
|