Coder Social home page Coder Social logo

adafruit / adafruit-webide Goto Github PK

View Code? Open in Web Editor NEW
475.0 67.0 78.0 32.21 MB

This is a simple editor to be used on the Raspberry Pi (or anywhere?).

Home Page: http://adafruit.com

License: Other

JavaScript 62.63% Python 19.27% HTML 0.55% CSS 9.48% Shell 5.80% CMake 0.34% Pug 1.93%

adafruit-webide's Introduction

Adafruit webIDE

This is a simple editor designed to help learn the Raspberry Pi and Beaglebone components, and more. This editor is designed solely for use on your secure private network as of now.

Note

This guidance and repo are deprecated and no longer supported. It is here for historical purposes only


Debian Installation (Raspberry Pi and BeagleBone Black)

The WebIDE installer is currently targeting Debian Stretch (latest Raspbian) installations only.

On the Raspberry PI or BeagleBone Black (after expanding the file system):

curl https://raw.githubusercontent.com/adafruit/Adafruit-WebIDE/master/scripts/install.sh | sudo sh

Alternatively, you can install using the .deb file:

curl -O https://adafruit-download.s3.amazonaws.com/adafruitwebide-0.3.12-Linux.deb
sudo dpkg -i adafruitwebide-0.3.12-Linux.deb
sudo apt-get -f install

Note: As part of the installation process, the 'webide' user is given access to sudo and sudoers, similar to the 'pi' user. This is needed in order to easily access GPIO pins from the Editor.
If you don't need these features, feel free to manually install the editor below.

Note: This is also the default installation for any Debian or Ubuntu operating systems

Manual Installation

Follow along in the installation script and pick and choose the components you'd like to install.

Uninstallation

Debian (Raspberry PI and BeagleBone Black):

curl https://raw.githubusercontent.com/adafruit/Adafruit-WebIDE/master/scripts/uninstall.sh | sudo sh

Manual Uninstallation

Follow along in the uninstallation script and pick and choose the components you'd like to remove.

Running the Editor

Using Firefox or Chrome (and likely any other webkit browser) on any computer in your internal network:

Raspberry Pi:

http://raspberrypi.local:8080

BeagleBone:

http://beaglebone.local:8080

Restart the Editor

If for any reason you need to restart the editor, you can execute the following commands in order

sudo systemctl restart adafruit-webide
sudo systemctl start adafruit-webide

Sudo is required to restart due to the editor running as the 'webide' user.

Status or Logs for the Editor

sudo systemctl status adafruit-webide

Logs are in syslog: /var/log/syslog

License

The editor is licensed with AGPL Version 3. http://www.gnu.org/licenses/agpl-3.0.html

SCREENSHOTS

ScreenShot

adafruit-webide's People

Contributors

drewrothstein avatar jwcooper avatar lastres avatar rtyley avatar thekitty avatar toddtreece avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

adafruit-webide's Issues

Clicking on "Terminal" -> Crash

[tty.js] 1 Created pty (id: /dev/pts/1, master: 9, pid: 2071).

/home/pi/OccEditor/node_modules/tty.js/lib/tty.js:405
return func(null, {
^
TypeError: string is not a function
at Session.handleCreate (/home/pi/OccEditor/node_modules/tty.js/lib/tty.js:405:10)
at Socket. (/home/pi/OccEditor/node_modules/tty.js/lib/tty.js:170:20)
at Socket.$emit (events.js:77:17)
at SocketNamespace.handlePacket (/home/pi/OccEditor/node_modules/socket.io/lib/namespace.js:335:22)
at Manager.onClientMessage (/home/pi/OccEditor/node_modules/socket.io/lib/manager.js:487:38)
at WebSocket.onMessage (/home/pi/OccEditor/node_modules/socket.io/lib/transport.js:387:20)
at Parser. (/home/pi/OccEditor/node_modules/socket.io/lib/transports/websocket/hybi-16.js:39:10)
at Parser.emit (events.js:67:17)
at /home/pi/OccEditor/node_modules/socket.io/lib/transports/websocket/hybi-16.js:288:16
at Parser.expectHandler (/home/pi/OccEditor/node_modules/socket.io/lib/transports/websocket/hybi-16.js:299:15)
pi@raspberrypi ~/OccEditor $

Could not verify OAuth request.

Installation was fine, but after setup and clicking "Click here to log in to your Bitbucket Account"
i get the following Error in my Browser.

'failed to obtain request token (status: 400 data: Could not verify OAuth request.)
at /home/pi/Adafruit/WebIDE/editor/node_modules/passport-bitbucket/node_modules/passport-oauth/lib/passport-oauth/strategies/oauth.js:183:36
at /home/pi/Adafruit/WebIDE/editor/node_modules/passport-bitbucket/node_modules/passport-oauth/node_modules/oauth/lib/oauth.js:512:17
at passBackControl (/home/pi/Adafruit/WebIDE/editor/node_modules/passport-bitbucket/node_modules/passport-oauth/node_modules/oauth/lib/oauth.js:368:13)
at IncomingMessage. (/home/pi/Adafruit/WebIDE/editor/node_modules/passport-bitbucket/node_modules/passport-oauth/node_modules/oauth/lib/oauth.js:380:9)
at IncomingMessage.emit (events.js:88:20)
at HTTPParser.parserOnMessageComplete as onMessageComplete
at CleartextStream.socketOnData as ondata
at CleartextStream._push (tls.js:375:27)
at SecurePair.cycle (tls.js:734:20)
at EncryptedStream.write (tls.js:130:13)

'

npm ERR!

Hey,

i´v got some installation problems with npm. Im using SSH.

The following i got on SSH-Terminal
npm ERR! git clone git://github.com/jwcooper/forever-monitor.git execvp(): No such file or directory

npm ERR! Error: git "clone" "git://github.com/jwcooper/forever-monitor.git" "/home/pi/Adafruit/WebIDE/tmp/npm-1349542711749/13711750-0.43444282026030123" failed with 127
npm ERR! at ChildProcess. (/usr/share/npm/lib/utils/exec.js:49:20)
npm ERR! at ChildProcess.emit (events.js:70:17)
npm ERR! at maybeExit (child_process.js:362:16)
npm ERR! at Process.onexit (child_process.js:398:5)
npm ERR! You may report this log at:
npm ERR! http://bugs.debian.org/npm
npm ERR! or use
npm ERR! reportbug --attach /home/pi/Adafruit/WebIDE/npm-debug.log npm
npm ERR!
npm ERR! System Linux 3.2.27+
npm ERR! command "node" "/usr/bin/npm" "install"
npm ERR! cwd /home/pi/Adafruit/WebIDE
npm ERR! node -v v0.6.19
npm ERR! npm -v 1.1.4
npm ERR! message git "clone" "git://github.com/jwcooper/forever-monitor.git" "/home/pi/Adafruit/WebIDE/tmp/npm-1349542711749/12711750-0.43444282026030123" failed with 127
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/pi/Adafruit/WebIDE/npm-debug.log
npm not ok


And this is written in the named Log-file:

info it worked if it ends with ok
verbose cli [ 'node', '/usr/bin/npm', 'install' ]
info using [email protected]
info using [email protected]
verbose config file /home/pi/.npmrc
verbose config file /usr/etc/npmrc
verbose config file /usr/share/npm/npmrc
verbose caching /home/pi/Adafruit/WebIDE/package.json
verbose loadDefaults [email protected]
verbose readDependencies: using package.json deps
verbose where, deps [ '/home/pi/Adafruit/WebIDE', [ 'forever-monitor' ] ]
verbose from cache /home/pi/Adafruit/WebIDE/package.json
info preinstall [email protected]
verbose from cache /home/pi/Adafruit/WebIDE/package.json
verbose readDependencies: using package.json deps
verbose cache add [ 'forever-monitor@git://github.com/jwcooper/forever-monitor.git',
verbose cache add null ]
silly cache add: name, spec, args [ undefined,
silly cache add: name, spec, args 'forever-monitor@git://github.com/jwcooper/forever-monitor.git',
silly cache add: name, spec, args [ 'forever-monitor@git://github.com/jwcooper/forever-monitor.git',
silly cache add: name, spec, args null ] ]
verbose parsed url { pathname: 'forever-monitor@git://github.com/jwcooper/forever-monitor.git',
verbose parsed url path: 'forever-monitor@git://github.com/jwcooper/forever-monitor.git',
verbose parsed url href: 'forever-monitor@git://github.com/jwcooper/forever-monitor.git' }
silly cache add: name, spec, args [ 'forever-monitor',
silly cache add: name, spec, args 'git://github.com/jwcooper/forever-monitor.git',
silly cache add: name, spec, args [ 'forever-monitor',
silly cache add: name, spec, args 'git://github.com/jwcooper/forever-monitor.git' ] ]
verbose parsed url { protocol: 'git:',
verbose parsed url slashes: true,
verbose parsed url host: 'github.com',
verbose parsed url hostname: 'github.com',
verbose parsed url href: 'git://github.com/jwcooper/forever-monitor.git',
verbose parsed url pathname: '/jwcooper/forever-monitor.git',
verbose parsed url path: '/jwcooper/forever-monitor.git' }
verbose addRemoteGit [ 'git://github.com/jwcooper/forever-monitor.git', 'master' ]
verbose mkdir (expected) error ENOENT, stat '/home/pi/Adafruit/WebIDE/tmp/npm-1349542711749'
verbose mkdir done: /home/pi/Adafruit/WebIDE/tmp/npm-1349542711749 755
silly exec git "clone" "git://github.com/jwcooper/forever-monitor.git" "/home/pi/Adafruit/WebIDE/tmp/npm-1349542711749/13495427$
silly spawning [ 'git',
silly spawning [ 'clone',
silly spawning 'git://github.com/jwcooper/forever-monitor.git',
silly spawning '/home/pi/Adafruit/WebIDE/tmp/npm-1349542711749/1349542711750-0.43444282026030123' ],
silly spawning null ]
ERR! git clone git://github.com/jwcooper/forever-monitor.git execvp(): No such file or directory
ERR! Error: git "clone" "git://github.com/jwcooper/forever-monitor.git" "/home/pi/Adafruit/WebIDE/tmp/npm-1349542711749/134954$ ERR! at ChildProcess.<anonymous> (/usr/share/npm/lib/utils/exec.js:49:20) ERR! at ChildProcess.emit (events.js:70:17) ERR! at maybeExit (child_process.js:362:16) ERR! at Process.onexit (child_process.js:398:5) ERR! You may report this log at: ERR! <http://bugs.debian.org/npm> ERR! or use ERR! reportbug --attach /home/pi/Adafruit/WebIDE/npm-debug.log npm ERR! ERR! System Linux 3.2.27+ ERR! command "node" "/usr/bin/npm" "install" ERR! cwd /home/pi/Adafruit/WebIDE ERR! node -v v0.6.19 ERR! npm -v 1.1.4 ERR! node -v v0.6.19 ERR! npm -v 1.1.4 ERR! messagegit "clone" "git://github.com/jwcooper/forever-monitor.git" "/home/pi/Adafruit/WebIDE/tmp/npm-1349542711749/13495$
verbose exit [ 1, true ]


thank you everyone for helping me :-)
Patrick

Something broken in bitbucket tie

OK i'm not actually sure what went wrong but i am positive the auth worked because my bitbucket acct has an empty "my-pi-projects" directory which i didn't make by hand
however, i cant see it in the editor and it has a lot of " Invalid repository undefined" errors

I might have had a problem because of the hiccup with the ssh key fingerprint. is there way to 'start over' with new auth keys? i imagine this will happen to users - they will want a way to re-enter that data from the beginning?

Are you sure you want to continue connecting (yes/no)? yes { [Error: Command failed: Warning: Permanently added 'bitbucket.org,207.223.240.182' (RSA) to the list of known hosts. Connection closed by 207.223.240.182 fatal: The remote end hung up unexpectedly ] killed: false, code: 128, signal: null } created personal repository in bitbucket { [Error: ENOENT, open '/home/pi/OccEditor/helpers/../repositories/my-pi-projects/README.md'] errno: 34, code: 'ENOENT', path: '/home/pi/OccEditor/helpers/../repositories/my-pi-projects/README.md' } { [Error: ENOENT, open '/home/pi/OccEditor/helpers/../repositories/my-pi-projects/README.md'] errno: 34, code: 'ENOENT', path: '/home/pi/OccEditor/helpers/../repositories/my-pi-projects/README.md' } { repository: 'my-pi-projects', path: 'README.md', name: 'README.md' } added undefined undefined committed Invalid repository undefined pushed Invalid repository undefined - \- - [Tue, 11 Sep 2012 02:21:45 GMT] "GET /auth/bitbucket/callback?oauth_verifier=0323653208&oauth_token=kzaLVA8

and

[tty.js] 2 Session 2 created. added undefined undefined committed Invalid repository undefined pushed Invalid repository undefined [tty.js] 2 Client disconnected. [tty.js] 2 Killing all pty's.

{ [Error: Command failed: Host key verification failed.
fatal: The remote end hung up unexpectedly
] killed: false, code: 128, signal: null }
pushed { [Error: Command failed: Host key verification failed.

Edit Callback after installation

Hello,

During configuration, I've changed the callback IP, and now everytime I have to retype it or the IDE load fails.

I could not find where to correct this (reinstalling does not correct the problem).

Last paragraph on Using WebIDE...

Possibly a minor nit pick, but every filesystem problem I've had on the Pi has been when I've simply pulled the power cord without properly shutting down Linux. And, conversely, I have never yet had a filesystem problem when I've taken the time to do a shutdown -h now and waited for the system to quiesce before removing the power. I now have the back-up and re-install procedures to prove that I've tested this theory far too many times.

Instructing users new to Linux to just pull the power cord is teaching them a bad practice, and could possibly reach out and bite someone.

ssh config better validation

Uninstall removes ~/.ssh/config (this is bad) for now, as the editor has a bug that keeps appending the bitbucket ssh config info when you re-install, and corrupts the file.

Can't create new files

I tried to create a new folder and new file in my bitbucket folder. New folder made OK but cant make a new file - goes thru the procedure but no actual file made locally or remotely

Supporting iPad

I am unable to edit files when using chrome in my iPad. I can start the WebIDE just fine, can also navigate. When I enter an area to edit a file I am never presented with a keyboard. The visual keyboard does not ever show and when I use my Bluetooth keyboard no characters show. This also happens if I launch the terminal.

Wanted to mention this in case you had plans to support this configuration.

Great start and I look forward to using this as my primary PI development system.

Copy project within file does something wierd

OK, if you log in, then click on Adafruit-Raspberry-Pi-Code then click on BMP085 then click on BMP085example.py then click on "Copy this project to MyPiProjects" it will copy only the file, but it thinks its a directory.

failed to deserialize user out of session

great stuff guys!
installed, all seemed fine. could not get a .py to run (permission denied)
restarted and now nothing... error:
at pass (/home/pi/Adafruit/WebIDE/editor/node_modules/passport/lib/passport/index.js:281:19)
at Passport.deserializeUser (/home/pi/Adafruit/WebIDE/editor/node_modules/passport/lib/passport/index.js:289:5)
at SessionStrategy.authenticate (/home/pi/Adafruit/WebIDE/editor/node_modules/passport/lib/passport/strategies/session.js:40:28)
at attempt (/home/pi/Adafruit/WebIDE/editor/node_modules/passport/lib/passport/middleware/authenticate.js:223:16)
at Passport.authenticate (/home/pi/Adafruit/WebIDE/editor/node_modules/passport/lib/passport/middleware/authenticate.js:224:7)
at next (/home/pi/Adafruit/WebIDE/editor/node_modules/express/node_modules/connect/lib/proto.js:190:15)
at Passport.initialize (/home/pi/Adafruit/WebIDE/editor/node_modules/passport/lib/passport/middleware/initialize.js:69:5)
at next (/home/pi/Adafruit/WebIDE/editor/node_modules/express/node_modules/connect/lib/proto.js:190:15)
at Object.methodOverride as handle
at next (/home/pi/Adafruit/WebIDE/editor/node_modules/express/node_modules/connect/lib/proto.js:190:15)

npm issue

Getting this error when I get to forever-monitor . Using Occidentalis v0.2. made sure git was installed properly. Also checked that DNS is working and can reach this git site on RPI browser.

npm ERR! git clone git://github.com/jwcooper/forever-monitor.git Cloning into '/home/pi/Adafruit/WebIDE/tmp/npm-1349584681952/1349584681953-0.9478051797486842'...
npm ERR! git clone git://github.com/jwcooper/forever-monitor.git
npm ERR! git clone git://github.com/jwcooper/forever-monitor.git fatal: unable to connect to github.com:
npm ERR! git clone git://github.com/jwcooper/forever-monitor.git github.com: Name or service not known

npm ERR! Error: git "clone" "git://github.com/jwcooper/forever-monitor.git" "/home/pi/Adafruit/WebIDE/tmp/npm-1349584681952/1349584681953-0.9478051797486842" failed with 128
npm ERR! at ChildProcess. (/usr/share/npm/lib/utils/exec.js:49:20)
npm ERR! at ChildProcess.emit (events.js:70:17)
npm ERR! at maybeExit (child_process.js:362:16)
npm ERR! at Process.onexit (child_process.js:398:5)
npm ERR! You may report this log at:
npm ERR! http://bugs.debian.org/npm
npm ERR! or use
npm ERR! reportbug --attach /home/pi/Adafruit/WebIDE/npm-debug.log npm
npm ERR!
npm ERR! System Linux 3.1.9adafruit+
npm ERR! command "node" "/usr/bin/npm" "install"
npm ERR! cwd /home/pi/Adafruit/WebIDE
npm ERR! node -v v0.6.19
npm ERR! npm -v 1.1.4
npm ERR! message git "clone" "git://github.com/jwcooper/forever-monitor.git" "/home/pi/Adafruit/WebIDE/tmp/npm-1349584681952/1349584681953-0.9478051797486842" failed with 128
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/pi/Adafruit/WebIDE/npm-debug.log
npm not ok

Upload file appears to have uploaded into the Adafruit library

I tried to upload a file into my-pi-projects, and the file didn't show up. Subsequently while looking around, I found it in Adafruit-Raspberry-Pi-Python-Code/Adafruit-I2C. I located the source file in the local copy of the Adafruit-I2C directory on my SD Card.

  1. How do you direct Upload File to place a file where you want it to go?

  2. Why is there no option to remove a file once it is uploaded?

SSH fingerprint hangs on first login

When first logging in to bitbucket from a fresh install the web ide hangs and the console hangs on:

"/home/pi/OccEditor/repositories/my-pi-projects" is a valid Git repository. Switched to directory. committed undefined [master (root-commit) e31f971] Modified README.md Committer: root Your name and email address were configured automatically based on your username and hostname. Please check that they are accurate. You can suppress this message by setting them explicitly:
git config --global user.name "Your Name"
git config --global user.email [email protected]

After doing this, you may fix the identity used for this commit with:

git commit --amend --reset-author

1 file changed, 16 insertions(+)
create mode 100644 README.md

"/home/pi/OccEditor/repositories/my-pi-projects" is a valid Git repository. Switched to directory.
The authenticity of host 'bitbucket.org (207.223.240.182)' can't be established.
RSA key fingerprint is 97:8c:1b:f2:6f:14:6b:5c:3b:ec:aa:46:46:74:7c:40.
Are you sure you want to continue connecting (yes/no)?

Maybe we can prefill the bitbucket key fingerprint? also can we set
git config --global user.name "Your Name"
git config --global user.email [email protected]
with a user pref in the future so it has their name and email?

Run files in the right dir?

Create a 'test' folder in 'my-pi-projects' and then create 'test.py' in the 'test' folder and try to Run it.


pi@raspberrypi ~/OccEditor/repositories/my-pi-projects $ python test.py
python: can't open file 'test.py': [Errno 2] No such file or directory


wrong directory :( should be my-pi-projects/test

Install fails

From an ssh client on a clean install of the latest wheezy raspbian and rebooting before running the installer, Using the automatic method results in...

Setting up node-semver (1.0.13-1) ...
Setting up node-tar (0.1.13-1) ...
Setting up node-which (1.0.5-1) ...
Setting up nodejs-dev (0.6.19dfsg1-2) ...
Setting up npm (1.1.4
dfsg-1) ...
Inconsistency detected by ld.so: dl-lookup.c: 867: _dl_setup_hash: Assertion `(bitmask_nwords & (bitmask_nwords - 1)) == 0' failed!

Error when starting: module.js:434 var compiledWrapper = runInThisContext(wrapper, filename, true);

Hi

Installed on Rasbian ok and without issue, but upon trying to start I get the below

module.js:434
var compiledWrapper = runInThisContext(wrapper, filename, true);
^
SyntaxError: Unexpected token ILLEGAL
at Module._compile (module.js:434:25)
at Object..js (module.js:464:10)
at Module.load (module.js:353:32)
at Function._load (module.js:311:12)
at Module.require (module.js:359:17)
at require (module.js:375:17)
at Object. (/home/pi/Adafruit-WebIDE/editor/node_modules/socket.io/node_modules/socket.io-client/node_modules/active-x-obfuscator/node_modules/zeparser/Tokenizer.js:2:25)
at Module._compile (module.js:446:26)
at Object..js (module.js:464:10)
at Module.load (module.js:353:32)

/home/pi/Adafruit-WebIDE/editor/node_modules/socket.io/node_modules/socket.io-client/node_modules/active-x-obfuscator/node_modules/zeparser/unicodecategories.js:50

This appears 3 times then is followed by "server exited"

Cannot call method 'replace' after setup

After initial setup page with Bitbucket OAuth see page with:
TypeError: Cannot call method 'replace' of undefined
at remove_invisible_characters (/home/pi/Adafruit/WebIDE/editor/node_modules/validator/lib/xss.js:187:19)
at Object.clean (/home/pi/Adafruit/WebIDE/editor/node_modules/validator/lib/xss.js:50:11)
at [object Object].xss (/home/pi/Adafruit/WebIDE/editor/node_modules/validator/lib/filter.js:32:21)
at /home/pi/Adafruit/WebIDE/editor/controllers/user.js:46:48
at callbacks (/home/pi/Adafruit/WebIDE/editor/node_modules/express/lib/router/index.js:162:11)
at param (/home/pi/Adafruit/WebIDE/editor/node_modules/express/lib/router/index.js:136:11)
at pass (/home/pi/Adafruit/WebIDE/editor/node_modules/express/lib/router/index.js:143:5)
at Router._dispatch (/home/pi/Adafruit/WebIDE/editor/node_modules/express/lib/router/index.js:170:5)
at Object.router as handle
at Context.next (/home/pi/Adafruit/WebIDE/editor/node_modules/express/node_modules/connect/lib/proto.js:190:15)

Chrome 22.0.1229.79m

Set Hostname after each request

If you want to use the editor from a different IP, caching the hostname on the first request causes it to fail from another IP.

Run button not executing as root

I can't figure out how to fix this.
When I click Run, I'm getting:"RPi.GPIO.SetupException: No access to /dev/mem. Try running as root! "
How do I change the run command to add 'sudo ' to the beginning of the python command?
(in this case 'python Adafruit_CharLCD_IPclock_example.py'

---Sample terminal display---
pi@raspberrypi ~/Adafruit/WebIDE/repositories/my-pi-projects/Adafruit_CharLCD $
python Adafruit_CharLCD_IPclock_example.py
Traceback (most recent call last):
File "Adafruit_CharLCD_IPclock_example.py", line 8, in
lcd = Adafruit_CharLCD()
File "/home/pi/Adafruit/WebIDE/repositories/my-pi-projects/Adafruit_CharLCD/Ad
afruit_CharLCD.py", line 61, in init
import RPi.GPIO as GPIO
RPi.GPIO.SetupException: No access to /dev/mem. Try running as root!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.