Skip to content

Instantly share code, notes, and snippets.

@dwblair
Created February 18, 2020 20:49
Show Gist options
  • Save dwblair/0ce8b8129f38aca599c5c9221e61b9c3 to your computer and use it in GitHub Desktop.
Save dwblair/0ce8b8129f38aca599c5c9221e61b9c3 to your computer and use it in GitHub Desktop.
float inny;
void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
Serial1.begin(115200);
}
void loop() {
// put your main code here, to run repeatedly:
inny =Serial1.parseFloat();
Serial.println(inny);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment