Serial communication with the Arch GPRS V2

As development for this module occurs in a browser, rather than an IDE with the typical debugging features, the best way to troubleshoot is to print messages over a serial port that can be read by a laptop.

Before going through all the mistakes I made, I got the system up and running with the following steps:

  1. Close the compiler
  2. Open the compiler
  3. Start a new project
  4. Create a main.cpp, fill it with code you *know* will work
  5. Import the libraries from scratch (if you hit compile straight away, the errors that pop up contain links that will help you import the missing libraries. Pretty cool).
  6. Compile, download, test
  7. Rejoice at your success
  8. Weep for the time wasted

Those steps took far too long as I was trying to solve problems that didn’t really exist. This post discusses that magical journey (you can follow along in the source code: git it here).


One thought on “Serial communication with the Arch GPRS V2

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s