I hereby claim:
- I am rnarkus on github.
- I am rnarkus (https://keybase.io/rnarkus) on keybase.
- I have a public key ASAHekT-qj0J0HqPg_qATkaOBKotM4rM_USIDWsVtaXppAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#include <SoftwareSerial.h> | |
#include <TinyGPS.h> | |
#include <Button.h> | |
TinyGPS gps; | |
#define COMMON_ANODE | |
int redPin = 9; | |
int greenPin = 2; | |
int bluePin = 3; |
#include <SoftwareSerial.h> | |
#include <TinyGPS.h> | |
/* This sample code demonstrates the normal use of a TinyGPS object. | |
It requires the use of SoftwareSerial, and assumes that you have a | |
4800-baud serial GPS device hooked up on pins 4(rx) and 3(tx). | |
*/ | |
TinyGPS gps; |
/* | |
GP20U7 GPS Library - Basic | |
Demonstrates the use of the GP20U7 GPS unit by retrieving the latitude | |
and longitude of your current position. | |
The circuit: | |
* GP20U7 TX pin to digital pin 0/RX | |
* GP20U7 VCC pin to 3.3V | |
* GP20U7 GND pin to ground |
import processing.serial.*; //import Serial library | |
float sensor1; | |
float sensor2; | |
// create instance of library | |
Serial myPort; | |
void setup (){ | |
size(1023, 1023, P3D); |
int sensor1; | |
int sensor2; | |
char val; | |
void setup() { | |
Serial.begin(9600); | |
Serial.println("0"); | |
} | |
void loop() { |
/* | |
Stepper Motor Control - one revolution | |
This program drives a unipolar or bipolar stepper motor. | |
The motor is attached to digital pins 8 - 11 of the Arduino. | |
The motor should revolve one revolution in one direction, then | |
one revolution in the other direction. | |
#include <Servo.h> | |
const int switchPin = 2; | |
int redPin = 11; | |
int greenPin = 10; | |
int bluePin = 9; | |
int FSR_Pin = A0; | |
Servo myServo; | |
void setup() { |
#include <iostream> | |
#include <fstream> | |
#include <sstream> | |
#include <string> | |
#include "CommunicationNetwork.h" | |
using namespace std; | |
int main(){ |