First init.

This commit is contained in:
2025-10-12 09:13:56 +02:00
commit 1548aeaf9b
458 changed files with 118808 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
#include <SoftwareSerial.h>
const byte rxPin = 2;
const byte txPin = 3;
SoftwareSerial secondSerial (rxPin, txPin);
void setup() {
// put your setup code here, to run once:
secondSerial.begin(9600);
delay(500);
secondSerial.print("F20.0"); //Sets module to 20kHz
delay(20);
secondSerial.print("D000"); //Sets module to 0% Duty Cycle
}
void loop() {
// put your main code here, to run repeatedly:
delay(10000);
secondSerial.print("D030");
delay(10000);
secondSerial.print("D060");
delay(30000);
}