Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int FSR_Pin = A0; //analog pin 0
- void setup(){
- Serial.begin(9600);
- }
- void loop(){
- int FSRReading = analogRead(FSR_Pin);
- Serial.println(FSRReading);
- delay(250); //just here to slow down the output for easier reading
- }
- int GPIO.IN=GPIO.BPM;
- void setup(){
- Serial.begin(9600);
- }
- void loop(){
- int GPIOReading = analogRead(GPIO.IN);
- Serial.println(GPIOReading);
- delay(650);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement