motors:pwm_analysis
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| motors:pwm_analysis [2023/04/16 19:15] – aistis | motors:pwm_analysis [2023/04/16 19:16] (current) – aistis | ||
|---|---|---|---|
| Line 5: | Line 5: | ||
| {{: | {{: | ||
| + | {{: | ||
| {{: | {{: | ||
| + | < | ||
| + | Encoder motor_pos(18, | ||
| + | WiFiClient client; | ||
| + | MySQL_Connection conn(& | ||
| + | |||
| + | void setup() { | ||
| + | Serial.begin(115200); | ||
| + | Serial.println(" | ||
| + | pinMode(23, OUTPUT); | ||
| + | pinMode(19, OUTPUT); | ||
| + | |||
| + | ledcAttachPin(17, | ||
| + | ledcSetup(1, | ||
| + | ledcWrite(1, | ||
| + | </ | ||
| to rotate motor to precise 2000 position is hard: | to rotate motor to precise 2000 position is hard: | ||
| {{: | {{: | ||
| {{: | {{: | ||
motors/pwm_analysis.1681661713.txt.gz · Last modified: by aistis
