Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Arduino BLE on off will not load without errors new #212

Open
76cp opened this issue Feb 3, 2017 · 0 comments
Open

Arduino BLE on off will not load without errors new #212

76cp opened this issue Feb 3, 2017 · 0 comments

Comments

@76cp
Copy link

76cp commented Feb 3, 2017

Arduino: 1.8.1 (Mac OS X), Board: "Arduino/Genuino 101"

/Users/dodonnel/Documents/Arduino/sketch_feb02f/sketch_feb02f.ino:10:33: warning: missing terminating " character [enabled by default]
<meta name="viewport" content="width=device-width, user-scalable=no
^
sketch_feb02f:10: error: missing terminating " character
<meta name="viewport" content="width=device-width, user-scalable=no
^
/Users/dodonnel/Documents/Arduino/sketch_feb02f/sketch_feb02f.ino:11:60: warning: missing terminating " character [enabled by default]
initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0" />
^
sketch_feb02f:11: error: missing terminating " character
initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0" />
^
sketch_feb02f:16: error: stray ‘@’ in program
@import 'ui/css/evothings-app.css';
^
/Users/dodonnel/Documents/Arduino/sketch_feb02f/sketch_feb02f.ino:16:13: warning: character constant too long for its type [enabled by default]
@import 'ui/css/evothings-app.css';
^
/Users/dodonnel/Documents/Arduino/sketch_feb02f/sketch_feb02f.ino:70:66: warning: character constant too long for its type [enabled by default]
app.device && app.device.writeDataArray(new Uint8Array([1]), '19b10001-e8f2-537e-4f6c-d104768a1214');
^
/Users/dodonnel/Documents/Arduino/sketch_feb02f/sketch_feb02f.ino:75:66: warning: character constant too long for its type [enabled by default]
app.device && app.device.writeDataArray(new Uint8Array([0]), '19b10001-e8f2-537e-4f6c-d104768a1214');
^
/Users/dodonnel/Documents/Arduino/sketch_feb02f/sketch_feb02f.ino:79:29: warning: multi-character character constant [-Wmultichar]
document.getElementById('info').innerHTML = info
^
/Users/dodonnel/Documents/Arduino/sketch_feb02f/sketch_feb02f.ino:84:21: warning: character constant too long for its type [enabled by default]
app.showMessage('Touch the connect button to begin.');
^
/Users/dodonnel/Documents/Arduino/sketch_feb02f/sketch_feb02f.ino:89:21: warning: character constant too long for its type [enabled by default]
app.showMessage('Connecting...');
^
/Users/dodonnel/Documents/Arduino/sketch_feb02f/sketch_feb02f.ino:91:7: warning: character constant too long for its type [enabled by default]
'GENUINO 101-1DD5', // Advertised name of BLE device.
^
/Users/dodonnel/Documents/Arduino/sketch_feb02f/sketch_feb02f.ino:95:25: warning: character constant too long for its type [enabled by default]
app.showMessage('Connected! Touch buttons to turn LED on/off.');
^
/Users/dodonnel/Documents/Arduino/sketch_feb02f/sketch_feb02f.ino:99:25: warning: character constant too long for its type [enabled by default]
app.showMessage('Connect error: ' + errorCode + '.');
^
/Users/dodonnel/Documents/Arduino/sketch_feb02f/sketch_feb02f.ino:103:5: warning: character constant too long for its type [enabled by default]
'deviceready',
^
sketch_feb02f:1: error: expected unqualified-id before ‘<’ token

^
sketch_feb02f:17: error: expected unqualified-id before ‘<’ token
</style>
^
sketch_feb02f:22: error: ‘window’ does not name a type
window.onerror = function(msg, url, line)
^
sketch_feb02f:26: error: expected unqualified-id before ‘<’ token
</script>
^
sketch_feb02f:66: error: ‘app’ does not name a type
app.device = null;
^
sketch_feb02f:68: error: ‘app’ does not name a type
app.ledOn = function()
^
sketch_feb02f:73: error: ‘app’ does not name a type
app.ledOff = function()
^
sketch_feb02f:77: error: ‘app’ does not name a type
app.showMessage = function(info)
^
sketch_feb02f:82: error: ‘app’ does not name a type
app.onDeviceReady = function()
^
sketch_feb02f:86: error: ‘app’ does not name a type
app.connect = function()
^
sketch_feb02f:102: error: ‘document’ does not name a type
document.addEventListener(
^
sketch_feb02f:104: error: expected unqualified-id before ‘,’ token
function() { evothings.scriptsLoaded(app.onDeviceReady) },
^
In file included from /Users/dodonnel/Library/Arduino15/packages/Intel/hardware/arc32/1.0.7/cores/arduino/Arduino.h:26:0,
from sketch/sketch_feb02f.ino.cpp:1:
sketch_feb02f:105: error: expected unqualified-id before ‘false’
false);
^
sketch_feb02f:106: error: expected unqualified-id before ‘<’ token
</script>
^
exit status 1
missing terminating " character

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

@76cp 76cp changed the title Arduino BLE on off will not load without errors Arduino BLE on off will not load without errors new Feb 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant