Skip to content

Instantly share code, notes, and snippets.

View rrgarciach's full-sized avatar

Ruy R. Garcia rrgarciach

View GitHub Profile
@rrgarciach
rrgarciach / soap_envelop.xml
Last active March 7, 2016 14:57
SOAP envelope example
<?xml version="1.0"?>
<soap:Envelope
xmlns:soap="http://www.w3.org/2003/05/soap-envelope/"
soap:encodingStyle="http://www.w3.org/2003/05/soap-encoding">
<soap:Header>
...
</soap:Header>
@rrgarciach
rrgarciach / spo2_sensor.ino
Created March 1, 2016 19:04
SpO2 sensor Arduino sketch
const int SENSOR_PIN = 0;
const int AMOUNT = 20;
int averageLevel = 0;
int averageIndex = 0;
/**
* The Pulse Oximeter sketch is an Arduino sketch intended for use with an
* analog sensor reading the amount of light passing through a human finger.
*