Skip to content
The amomii IR Hacks board used as a calculator, shown beside a pocket calculator and number pad

Calculator

The next project we can add to our IR Hacks device is a simple calculator. Using the number keys for our input, and the A-D keys for the functions, we’ve got a simple, compact device that you can use for all your simple arithmetic needs!

Uploading the Project 

If you haven't already uploaded the Calculator code to your device, there are two ways to do it:

  1. Use amomii Link. amomii Link is our proprietary tool for uploading code directly from our website.

    a. Go to IR Hacks Link and choose your project. Today we’re picking Calculator

    b. Read about the amomii Link tool.

     

  2. Manual Installation: Go to the Toolbox, download the code and upload it to your device using the Arduino IDE (if you don't know what that means, use option one!)

    a. Go to 
    Toolbox.


How it Works

For this calculator, the number keys 0-9 represent the numbers 0-9 (obviously). For the other functions, starting from the bottom left, the * key clears the memory, # is our equals sign, D is +, C is -, B is *, and A is /. From there, it works just like you would expect a calculator to work. It calculates.

 

Previous Post Next Post