Untitled
unknown
c_cpp
18 days ago
389 B
0
Indexable
Never
#include <Servo.h> #include <SoftwareSerial.h> #include <TinyGPS++.h> Servo myservo; TinyGPSPlus gps; SoftwareSerial ss(4, 3); void setup() { // put your setup code here, to run once: myservo.attach(9); Serial.begin(9600); ss.begin(9600); delay(1000) } void loop() { Serial.println(gps.speed.kmph()); delay(1000); //myservo.write(gps.speed.kmph()); }
Leave a Comment