I'm having an issue with my Serial Monitor and I'm not sure what's going on. It seems to be returning skipped and mashed up lines. Below is a screenshot of basic code I wrote to illistrate the issue as well as the values being returned.
Is that a simulation instead of real hardware? It looks like there are two copies of the sketch running and one of them sometimes interrupts the other. Are the messages arriving once per second or more often?
So I was using the web-based arduino editor when I was having this issue. I switched to the desktop version and now it seems to work just fine. What could the issue be with the web editor? Too bad because I liked using that. It was handy for me to learn on with all the easy access to references and libraries..