399.431 AT send 33 "AT+UDNSRN=0,\"www.technobly.com\"\r\n"
403.502 AT read + 27 "\r\n+UDNSRN: \"74.208.28.90\"\r\n"
403.512 AT read OK 6 "\r\nOK\r\n"
0000403543:DEBUG: virtual void TCPClient::stop() (192):_sock -1 closesocket
socketSocket(TCP)
403.643 AT send 12 "AT+USOCR=6\r\n"
403.700 AT read + 13 "\r\n+USOCR: 1\r\n"
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
// 88888888888 88888888888 8888888888 888b d888 d8888 8888888b. 8888888 | |
// 888 888 888 8888b d8888 d88888 888 Y88b 888 | |
// 888 888 888 88888b.d88888 d88P888 888 888 888 | |
// 888 888 8888888 888Y88888P888 d88P 888 888 d88P 888 | |
// 888 888 888 888 Y888P 888 d88P 888 8888888P" 888 | |
// 888 888 888 888 Y8P 888 d88P 888 888 888 | |
// 888 888 d8b 888 888 " 888 d8888888888 888 888 | |
// 888 888 Y8P 888 888 888 d88P 888 888 8888888 | |
// | |
// Compiled bot.js for autoreconnect.js example @ https://github.com/alaingilbert/Turntable-API |
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
//---------------------------------------------------- | |
// Temperature filtering with a 1/16th Dilution Filter | |
// BDub 12-21-2013 | |
// | |
// 1/16th of the new reading gets added to the ongoing | |
// running total of 16 virtual readings, with a little | |
// correction for the truncation process. Very fast | |
// filter for slow 8-bit uC's that don't have multiply | |
// or divide instructions. | |
// |
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
//-----------------------------------------------// | |
// SPARK CORE SIMPLE TONE GENERATOR // | |
//===============================================// | |
// Copy this into a new application at: // | |
// https://www.spark.io/build and go nuts! // | |
//-----------------------------------------------// | |
// Technobly / BDub - Jan 2014 // | |
//===============================================// | |
#define NOTE_B2 4065 |
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
//----------------------------------------------------------------- | |
// BMP085/BMP180 Barometric Pressure + Temp sensor for Spark Core | |
//================================================================= | |
// Copy this into a new application at: | |
// https://www.spark.io/build and go nuts! | |
//----------------------------------------------------------------- | |
// Technobly / BDub - Jan 2014 | |
//================================================================= | |
/*************************************************** |
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
//-------------------------------------------------- | |
// Intro to Inline Assembly on the Spark Core (WIP) | |
//================================================== | |
// Copy this into a new application at: | |
// https://www.spark.io/build and go nuts! | |
//-------------------------------------------------- | |
// Technobly / BDub - Jan 2014 | |
//================================================== | |
uint16_t pin = D0; |
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
//-----------------------------------------------// | |
// I2C / SPI LCD BACKPACK LIBRARY FOR SPARK CORE // | |
//===============================================// | |
// Copy this into a new application at: // | |
// https://www.spark.io/build and go nuts! // | |
// !! Pinouts on line 427 below !! // | |
//-----------------------------------------------// | |
// Technobly / BDub - Jan 16th 2014 // | |
//===============================================// |
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
//----------------------------------------------- | |
// Fast Read Example | |
//=============================================== | |
// Copy this into a new application at: | |
// https://www.spark.io/build and go nuts! | |
//----------------------------------------------- | |
// Technobly / BDub - Jan 22nd 2014 | |
//=============================================== | |
#pragma GCC diagnostic ignored "-Wunused-value" |
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
//----------------------------------------------- | |
// SPARK CORE CUSTOM PWM FREQUENCY EXAMPLE | |
//=============================================== | |
// Define your own frequency below! | |
// PWM Glitch issue fixed, only sets up PWM once, | |
// ... thereafter sets duty cycle. | |
// This allows true 0 - 100% PWM. | |
// Copy this into a new application at: | |
// https://www.spark.io/build and go nuts! | |
//----------------------------------------------- |
384.847 AT send 33 "AT+UDNSRN=0,\"www.technobly.com\"\r\n"
386.438 AT read + 27 "\r\n+UDNSRN: \"74.208.28.90\"\r\n"
386.448 AT read OK 6 "\r\nOK\r\n"
0000386479:DEBUG: virtual void TCPClient::stop() (192):_sock -1 closesocket
socketSocket(TCP)
386.579 AT send 12 "AT+USOCR=6\r\n"
386.666 AT read + 13 "\r\n+USOCR: 1\r\n"