arduinonano



Keep your codebase clean with Git hooks

  • avatar
  • 578 Views
  • 9 mins read
Preview image

Every developer has been there: you push a commit, CI fails, and it turns out there was a linting error, a forgotten debug statement, or a test that nobody ran. Pre-commit hooks are the safety net that catches these problems before they ever leave your machine. They are not a complex feature or an advanced Git topic. They are just scripts, and once you understand how they work, you will find yourself reaching for them on every project.

Serial communication between two Arduino boards

Available to registered members only
  • avatar
  • 274 Views
  • 9 mins read
Preview image

Getting two Arduino boards to talk to each other opens up projects that a single board can't handle on its own. You might have one board reading sensors in one corner of a room and another driving a display somewhere else, and the two need to share what they know. Serial communication is one of the simplest ways to make that happen, and it works with almost any Arduino model you have lying around. This article walks through connecting two Arduino Nano boards and passing data back and forth over their serial ports.