Week 6

Only one port at a time can access a serial port.

We kept getting an error with the P5 serial control, possibly because we were ignoring this most important rule. We kept trying to select the port and received the error. When we restarted it, and didn’t mess with selecting anything, it worked fine.

Questions

Javascript Events

I understand that we are using events as callbacks, but I’m not sure what the point would be of calling back something like “open.”

 Asynchronous communication: Two devices communicating, and each device keeps its own time. Can cause lapses in communication because one device is outputting in an instance where the other isn’t receiving. The data will buffer eventually and show up.

Previous
Previous

Week 4

Next
Next

Week 7