I hereby claim:
- I am technobly on github.
- I am bdub (https://keybase.io/bdub) on keybase.
- I have a public key whose fingerprint is 4C0E 1402 48CC C55E 1312 707D B62C 54A3 C279 6C78
To claim this, I am signing this object:
/* | |
****************************************************************************** | |
* Copyright (c) 2015 Particle Industries, Inc. All rights reserved. | |
* | |
* This library is free software; you can redistribute it and/or | |
* modify it under the terms of the GNU Lesser General Public | |
* License as published by the Free Software Foundation, either | |
* version 3 of the License, or (at your option) any later version. | |
* | |
* This library is distributed in the hope that it will be useful, |
/* | |
****************************************************************************** | |
* Copyright (c) 2015 Particle Industries, Inc. All rights reserved. | |
* | |
* This library is free software; you can redistribute it and/or | |
* modify it under the terms of the GNU Lesser General Public | |
* License as published by the Free Software Foundation, either | |
* version 3 of the License, or (at your option) any later version. | |
* | |
* This library is distributed in the hope that it will be useful, |
#include "application.h" | |
Servo myservo; // create servo object to control a servo | |
// a maximum of eight servo objects can be created | |
int pos = 0; // variable to store the servo position | |
void setup() | |
{ | |
myservo.attach(A0); // attaches the servo on the A0 pin to the servo object |
I hereby claim:
To claim this, I am signing this object:
Adding to main NeoPixel library... see here https://github.com/technobly/SparkCore-NeoPixel/commit/307a7dd618a2e8f757e429875d9d1c8af8a92836
// WIRELESS SERVO EXAMPLE CODE | |
// BDub 4/7/2014 | |
// | |
// Connect RED wire to VIN (~5V) | |
// Connect ORANGE, YELLOW, or WHITE wire to A0 (servo signal) | |
// Connect BLACK or BROWN wire to GND (0V) | |
// Adjust these connections for your particular servo | |
// if you have a wiring diagram for it. | |
// | |
// |
#define SMTP_SERVER "smtp.yourserver.com" | |
#define SMTP_USER_BASE64 "base64_encode_your_user" | |
#define SMTP_PASS_BASE64 "base64_encode_your_pass" | |
#define SMTP_FROM_EMAIL "email@from.com" | |
#define SMTP_TO_EMAIL "email@to.com" | |
#define SMTP_SUBJECT "Email from a Core!" | |
#define SMTP_BODY "Body body body" | |
#include "application.h" |
/* | |
* ================================= | |
* RUBE GOLDBERG LED TOGGLE | |
* --------------------------------- | |
* BDub / Technobly - Feb 11th, 2014 | |
* ================================= | |
* | |
*/ | |
uint16_t TIM_ARR = (uint16_t)(65535/6); // Calc PWM period. |
//----------------------------------------------- | |
// GROVE LCD RGB Library For Spark Core | |
//=============================================== | |
// http://www.seeedstudio.com/wiki/Grove_-_LCD_RGB_Backlight | |
// https://github.com/Seeed-Studio/Grove_LCD_RGB_Backlight | |
//----------------------------------------------- | |
// Technobly / BDub - Jan 30th, 2014 | |
//=============================================== | |
#include "application.h" |