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
118059 verbose linkMans object-assign@3.0.0 | |
118060 verbose rebuildBundles object-assign@3.0.0 | |
118061 silly build graceful-fs | |
118062 info linkStuff graceful-fs@1.2.3 | |
118063 silly linkStuff graceful-fs@1.2.3 has C:\Users\B48923\AppData\Roaming\npm\node_modules\strongloop\node_modules\globule\node_modules as its parent node_modules | |
118064 silly linkStuff graceful-fs@1.2.3 is part of a global install | |
118065 silly linkStuff graceful-fs@1.2.3 is installed into a global node_modules | |
118066 verbose linkBins graceful-fs@1.2.3 | |
118067 verbose linkMans graceful-fs@1.2.3 | |
118068 verbose rebuildBundles graceful-fs@1.2.3 |
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
/* -- | |
This program shows how to configure and output 'AB\n' on the USB serial port of a KL25Z | |
It is using processor expert and was tested on Kinetis Design Studio (KDS) ver 3.0.0 | |
-- */ | |
// 1. Add Processor Expert module AsynchroSerial | |
// In KDS, in the 'Components' view, right click on 'Components' then "Show components library" | |
// In the opened window, select the category 'Kinetis/Peripheral Drivers/Communication' and double-click on AsyncroSerial | |
// this will add the AsyncroSerial module to your project | |
// 2. Configuration |
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
#include "telemetry/driver.hpp" | |
int main() | |
{ | |
// User state - not used for now | |
TM_state state; | |
// Create a telemetry instance | |
Telemetry TM(&state); | |
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
import pytelemetry as tm | |
import pytelemetry.transports.serialtransport as transports | |
import time | |
def printer(topic, data): | |
print(topic," : ", data) | |
transport = transports.SerialTransport() | |
c = tm.pytelemetry(transport) |
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
#include "mbed.h" | |
#include "telemetry/driver.hpp" | |
#include "tsi_sensor.h" | |
#include "MMA8451Q.h" | |
#define MMA8451_I2C_ADDRESS (0x1d<<1) | |
int main() | |
{ | |
Telemetry TM(); |
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
2016-02-20 18:25:24,378 | INFO | b'0000746f75636800000000002386' | |
2016-02-20 18:25:24,378 | INFO | b'05006163633a780044006591' | |
2016-02-20 18:25:24,378 | INFO | b'05006163633a79007c032861' | |
2016-02-20 18:25:24,378 | INFO | b'05006163633a7a00a441fd3f' | |
2016-02-20 18:25:24,394 | INFO | b'00007468726f74746c65009a99993e0f8d' | |
2016-02-20 18:25:24,425 | INFO | b'0000746f75636800000000002386' | |
2016-02-20 18:25:24,425 | INFO | b'05006163633a78005000906e' | |
2016-02-20 18:25:24,425 | INFO | b'05006163633a790030030837' | |
2016-02-20 18:25:24,440 | INFO | b'05006163633a7a00bc405b15' | |
2016-02-20 18:25:24,440 | INFO | b'00007468726f74746c65009a99993e0f8d' |
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
int32_t write(void * buf, uint32_t sizeToWrite) | |
{ | |
uint8_t * buffer = (uint8_t *) buf; | |
uint_32t i = 0; | |
for(i = 0 ; i < sizeToWrite ; i++) | |
{ | |
ByteEnqueue(&SDA_SERIAL_OUTGOING_QUEUE, (uint8_t)(buffer[i])); | |
} | |
return (int32_t)sizeToWrite; | |
} |
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
import sys | |
import os | |
from colorama import init | |
from colorama import Fore, Back, Style | |
init() | |
def testEquals(p,l): | |
for i in l: | |
if os.path.normpath(p) == os.path.normpath(i): | |
return True |
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
module.exports = function hello() { | |
console.log("Byebye"); | |
} |
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 connect = require('connect'); | |
var serveStatic = require('serve-static'); | |
var https = require('https'); | |
// Get certificates for free here | |
// https://letsencrypt.org/ | |
var key = fs.readFileSync('./key.pem'); | |
var cert = fs.readFileSync('./cert.pem') | |
var options = { | |
key: key, |
OlderNewer