This file contains hidden or 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
#define sensorPin A0 // Hall Effect Sensor Pin | |
#define pwmPin 3 // Transisor Pin | |
int levitPoint = 690; // Levitation Point relative to the sensor readings | |
#define FILTER_SHIFT 4 | |
int sensorValue = 0; | |
int deltaLevit = 15; | |
int maxL, minL; | |
int filter_input; | |
int filter_output; |
NewerOlder