This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int readValue; | |
const int buttonPin = 4; | |
const int buttonPin2 = 5; | |
void setup() | |
{ | |
pinMode(12, OUTPUT); | |
pinMode(9, OUTPUT); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#pragma strict | |
var i :int =0; | |
var angle :float =0; | |
var speed : float = 0.05; | |
var dis: float; | |
function Start () { | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const int pingPin = A0; | |
//-------denoise---------------- | |
int denoise[10]; | |
int temp = 0; | |
//========================denoise | |
void setup() | |
{ | |
Serial.begin(9600); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//--------muscle sensor--------- | |
int sensorPin = A3; | |
int sensorValue = 0; | |
//========================muscle sensor | |
//-------denoise---------------- | |
int denoise[10]; | |
int temp = 0; | |
//========================denoise |