Skip to content

Instantly share code, notes, and snippets.

@refriedchicken
Created May 6, 2015 22:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save refriedchicken/e7536471e4fccf529acc to your computer and use it in GitHub Desktop.
Save refriedchicken/e7536471e4fccf529acc to your computer and use it in GitHub Desktop.
Pressure Sensor
void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
}
void loop() {
// put your main code here, to run repeatedly:
int sensorValue = analogRead(A0);
Serial.println(sensorValue);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment