Skip to content

Instantly share code, notes, and snippets.

View kenchris's full-sized avatar
🏠
Working from home

Kenneth Rohde Christiansen kenchris

🏠
Working from home
  • Intel Corporation
  • Denmark
View GitHub Profile
port
serial.Port
device_
:
USBDevice
configuration
:
USBConfiguration
configurationName
:
ihex-web.js:181pre-main prep time: 0 ms
printErr @ ihex-web.js:181
(index):124 Connecting...
(index):92 sending to serial: [set transfer ihex
]
(index):95 [115, 101, 116, 32, 116, 114, 97, 110, 115, 102, 101, 114, 32, 105, 104, 101, 120, 13, 10]
(index):92 sending to serial: [stop
]
Total Sent 18
sending to serial: [set filename filename.js]
Total Sent 42
sending to serial: [set transfer ihex]
Total Sent 59
sending to serial: [load]
Total Sent 63
Follow Zephyr.JS README.md to change partitions: https://github.com/01org/zephyr.js
$ source zjs-env.sh 256
$ make DEV=ashell MALLOC=heap
$ make DEV=ashell MALLOC=heap arc
$ make dfu
$ make dfu-arc
If on ubuntu: $ sudo apt-get remove modemmanager
root@edison:~/webbluetooth-edison-demo/server# node test.js
Log level for [neard] : error
Log level for [WebNFC] : error
Log level for [WebNFC] : debug
Log level for [neard] : debug
[Debug] [WebNFC] validWatchMode checking: any
[Debug] [WebNFC] validUrlPattern checking:
[Debug] [WebNFC] validMediaType checking:
[Debug] [WebNFC] validRecordType checking:
[Debug] [neard] neard.tagPollCount: 1
// Copyright (c) 2014 Intel Corporation. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
let IsolatedFileSystem = requireNative('isolated_file_system');
let listeners = {};
function addMessageListener(fn) {
var uid = new Date().getTime() + (parseInt(Math.random() * 100)).toString();
listeners[uid] = fn;
New issue wizard
Which of the following best describes the issue that you are reporting?
UI Something is wrong with the user interface (e.g. tabs, context menus, etc...)
Network / Downloading Problems with accessing remote content
Audio / Video Problems playing back sound or movies
Content Web pages aren't displaying or working properly
Apps Problems with how the browser deals with apps from the webstore
Extensions / Themes Issues related to extensions and themes from the webstore
onRouteChanged: function() {
console.log(this.route)
switch (this.route.page) {
case "list":
this.ensureUpgraded(this.$['shopping-list']);
break;
case "home":
break;
default:
<!DOCTYPE html>
<html>
<head>
<title>RGB LED</title>
<script src="../serial.js"></script>
<script src="bower_components/webcomponentsjs/webcomponents-lite.js"></script>
<link rel="import" href="bower_components/polymer/polymer.html">
<link rel="import" href="bower_components/paper-button/paper-button.html">
<link rel="import" href="bower_components/paper-input/paper-input.html">
<link rel="import" href="bower_components/iron-flex-layout/iron-flex-layout-classes.html">
#include <WebUSB.h>
#include <LiquidCrystal.h>
LiquidCrystal lcd(12, 11, 5, 4, 3, 2);
#define Serial WebSerial
const int redPin = 7;
const int greenPin = 6;
const int bluePin = 5;