Skip to content
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.

Commit

Permalink
updated app title
Browse files Browse the repository at this point in the history
  • Loading branch information
pelikhan committed Dec 2, 2015
1 parent 2a4b0b1 commit 5fa452e
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 10 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
# microbit-chrome
Prototype chrome addon that exposes the micro:bit's serial output to webpages.
Prototype chrome addon that exposes a device serial output to webpages.

# Installation
Until I put this up on the Chrome App Store, see
[developer.chrome.com](https://developer.chrome.com/extensions/getstarted#unpacked)
See [developer.chrome.com](https://developer.chrome.com/extensions/getstarted#unpacked)
for instructions on how to install the local version into your chrome browser.

# Requirements
Expand Down
2 changes: 1 addition & 1 deletion background.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ function findNewDevices() {
function main() {
// Register new clients in the [ports] global variable.
chrome.runtime.onConnectExternal.addListener(function (port) {
if (port.name == "micro:bit") {
if (port.name == "touchdevelop") {
ports.push(port);
port.onDisconnect.addListener(function () {
ports = ports.filter(function (x) { return x != port });
Expand Down
2 changes: 1 addition & 1 deletion demo.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ function updateColor(r, g, b, c) {
}

var buf = "";
var port = chrome.runtime.connect("jmockekaclnoghdblhiogkkhadjmdkin", { name: "micro:bit" });
var port = chrome.runtime.connect("jmockekaclnoghdblhiogkkhadjmdkin", { name: "touchdevelop" });
port.onMessage.addListener(function (msg) {
if (msg.type == "serial") {
buf += msg.data;
Expand Down
10 changes: 5 additions & 5 deletions manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
},

"manifest_version": 2,
"name": "Serial console for BBC micro:bit",
"version": "1.0",
"author": "Microsoft Corporation",
"short_name": "micro:bit serial",
"name": "Serial console for Microsoft Touch Develop",
"version": "0.1",
"author": "Microsoft",
"short_name": "touchdevelop serial",

"description": "This extension re-routes the BBC micro:bit's serial output to Chrome.",
"description": "This extension re-routes the serial output to Microsoft Touch Develop.",
"icons": {
"48": "logo48.png",
"128": "logo128.png"
Expand Down

0 comments on commit 5fa452e

Please sign in to comment.