Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NeoSerial.parseInt #11

Open
2winners opened this issue Jun 3, 2020 · 0 comments
Open

NeoSerial.parseInt #11

2winners opened this issue Jun 3, 2020 · 0 comments

Comments

@2winners
Copy link

2winners commented Jun 3, 2020

hello, im trying to read the next characters in the sentence using .parseInt after i enter the interrupt but the UNO just stops, i send "F 100" and it just dies. not respond to anything in normal serial it will just read '100'

void NeoSerialEvent(char NeoSerialBuffer) {
   switch (NeoSerialBuffer) {
      case 'F' :
          Fan = NeoSerial.parseInt();
          inputString = " fan:";
          inputString += Fan;
          stringComplete = true;
          analogWrite(Fanpin, Fan);
          break;
   }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant