Skip to content

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

@76cp

Description

@76cp

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions