This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var inputBox = document.getElementById('input-box') | |
var btn = document.getElementById('submit-input-box') | |
var showValues = document.getElementById('show-values') | |
btn.addEventListener('click', function () { | |
var text = inputBox.value | |
var tokens = text.split(',').map(k => k.trim()) // this removes whitespace from each token | |
// you could also do this with a for loop and remove the map() as follows | |
// for(var token of tokens) { | |
// token = token.trim() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: 0.1.0 | |
// sandboxed: true | |
sandboxed: false | |
start: auto | |
executables: | |
{ | |
spiService = ( $LEGATO_ROOT/components/spiService ) | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@swi-mdm9x15:~# logread | grep spi | |
Feb 21 02:46:37 swi-mdm9x15 user.info kernel: [ 2.325072] spi_qsd spi_qsd.0: master is unqueued, this is deprecated | |
Feb 21 02:46:40 swi-mdm9x15 user.info Legato: INFO | updateDaemon[521]/framework T=main | LE_FILENAME user_Create() 979 | Created user 'appspiService' with uid 1018 and gid 1018. | |
Feb 21 02:46:42 swi-mdm9x15 user.debug kernel: [ 16.729436] gpiochip_add: registered GPIOs 501 to 511 on device: spi32766 | |
Feb 21 02:46:48 swi-mdm9x15 user.info Legato: INFO | supervisor[488]/supervisor T=main | kernelModules.c ModuleGetParams() 119 | Module spisvc.ko uses no parameters. | |
Feb 21 02:46:48 swi-mdm9x15 user.info Legato: INFO | supervisor[488]/supervisor T=main | kernelModules.c ModuleInsert() 285 | New kernel module 'spisvc' | |
Feb 21 02:46:53 swi-mdm9x15 user.warn Legato: -WRN- | supervisor[488]/supervisor T=main | proc.c GetWatchdogAction() 359 | spiService watchdogAction '' in proc section | |
Feb 21 02:46:53 swi-mdm9x15 user.warn Legato: -WRN- | supervisor[488]/sup |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.base-element { | |
opacity: 0; | |
transition: 2s ease-in-out; | |
} | |
.base-element:hover { | |
opacity: 1; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Feb 28 20:39:47 swi-mdm9x15 user.info Legato: INFO | updateDaemon[1635]/framework T=main | LE_FILENAME user_Create() 979 | Created user 'appsensorToCloud' with uid 1034 and gid 1034. | |
Feb 28 20:39:47 swi-mdm9x15 user.info Legato: INFO | updateDaemon[1635]/updateDaemon T=main | updateDaemon.c UpdateUsersAndGroups() 1563 | User 'appsensorToCloud' created for app 'sensorToCloud'. | |
Feb 28 20:39:57 swi-mdm9x15 user.warn Legato: -WRN- | supervisor[1623]/supervisor T=main | proc.c GetWatchdogAction() 359 | sensorToCloud watchdogAction '' in proc section | |
Feb 28 20:39:57 swi-mdm9x15 user.warn Legato: -WRN- | supervisor[1623]/supervisor T=main | proc.c GetWatchdogAction() 359 | sensorToCloud watchdogAction '' in proc section | |
Feb 28 20:39:57 swi-mdm9x15 user.info Legato: INFO | supervisor[1623]/supervisor T=main | app.c CreateFileLink() 1583 | Created file link '/dev/log' to '/legato/systems/current/appsWriteable/sensorToCloud/dev/log'. | |
Feb 28 20:39:57 swi-mdm9x15 user.info Legato: INFO | supervisor[1623]/supervisor T |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const chartConfig = ( | |
parser, | |
dateFormatter | |
) => ({ | |
responsive: true, | |
maintainAspectRatio: false, | |
scales: { | |
xAxes: [ | |
{ | |
type: 'time', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
appsboot.mbn | |
appsboot.raw | |
boot_wp85.cwe | |
boot-yocto-legato_wp85.cwe | |
boot-yocto-mdm9x15-20180410212439.2k.img | |
boot-yocto-mdm9x15-20180410212439.2k.initramfs.img | |
boot-yocto-mdm9x15-20180410212439.4k.img | |
boot-yocto-mdm9x15-20180410212439.4k.initramfs.img | |
boot-yocto-mdm9x15.2k.img | |
boot-yocto-mdm9x15.2k.initramfs.img |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@swi-mdm9x15:~# i2cdetect -y -r 0 | |
0 1 2 3 4 5 6 7 8 9 a b c d e f | |
00: -- -- -- -- -- -- -- -- -- -- -- -- -- | |
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- | |
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- | |
30: -- -- -- -- -- -- -- -- -- -- UU -- -- -- -- -- | |
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- | |
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- | |
60: -- -- -- -- -- -- -- -- UU -- -- UU -- -- -- -- | |
70: -- -- -- -- -- -- UU -- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ 1.090401] qup_i2c qup_i2c.0: Bus still busy, status 132100 | |
[ 1.169418] qup_i2c qup_i2c.0: Bus still busy, status 132100 | |
[ 1.248435] qup_i2c qup_i2c.0: Bus still busy, status 132100 | |
[ 1.327453] qup_i2c qup_i2c.0: Bus still busy, status 132100 | |
[ 1.406470] qup_i2c qup_i2c.0: Bus still busy, status 132100 | |
[ 2.121989] qup_i2c qup_i2c.0: Bus still busy, status 132100 | |
[ 2.211872] qup_i2c qup_i2c.0: Bus still busy, status 132100 | |
[ 2.301999] qup_i2c qup_i2c.0: Bus still busy, status 132100 | |
[ 2.452006] qup_i2c qup_i2c.0: Bus still busy, status 132100 | |
[ 2.516191] qup_i2c qup_i2c.0: Bus still busy, status 132100 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Jun 3 06:00:38 swi-mdm9x15 user.debug Legato: DBUG | avcDaemon[1317]/avcDaemon T=main | osDebug.c lwm2m_printf() 84 | [omanager_ObjectsFree:1432] Wakaama RegisteredObjNb 0 | |
Jun 3 06:00:38 swi-mdm9x15 user.debug Legato: DBUG | avcDaemon[1317]/avcDaemon T=main | osDebug.c lwm2m_printf() 84 | [lwm2m_init:69] Entering | |
Jun 3 06:00:38 swi-mdm9x15 user.debug Legato: DBUG | avcDaemon[1317]/avcDaemon T=main | osTime.c lwm2m_gettime() 31 | Device time: 1528005638 | |
Jun 3 06:00:38 swi-mdm9x15 user.debug Legato: DBUG | avcDaemon[1317]/avcDaemon T=main | osDebug.c lwm2m_printf() 84 | [lwm2mcore_Init:946] Init done -> context 0xb70310c8 | |
Jun 3 06:00:38 swi-mdm9x15 user.debug Legato: DBUG | avcDaemon[1317]/framework T=main | le_data_client.c DoConnectService() 363 | ======= Starting another client for 'avcDaemon.avcDaemon.le_data' service ======== | |
Jun 3 06:00:38 swi-mdm9x15 user.debug Legato: DBUG | avcDaemon[1317]/framework T=main | LE_FILENAME le_mem_ForceAlloc() 841 | Memory pool 'avcDaemon.AssetData client' over |
OlderNewer