In this tutorial we discuss some common shorthand for simple arithmetic in Arduino. We cover several compound operators that add, subtract, multiply and divide making it easy to increment variables in useful ways.
This tutorial discusses what to do when you open an existing program and realize that you simply don’t understand all the stuff that is going on. It also talks about using the ADXL345 triple axis accelerometer breakout board to control the hue of a Red-Green-Blue (RGB) LED.
In this tutorial we describe using RGB LEDs of the Common Cathode Type. We will describe setting up the circuit, talk about the LED and discuss the code used to adjust the hue.
This video tutorial talks about using the random() and randomSeed() functions with Arduino. It is pretty straight forward but there are some intricacies worth noting.
Creating truly random numbers is harder than you might think. The closest we can get in Arduino and just about anywhere else is using pseudo random numbers. That is, numbers that mimic randomness, but in fact do have a pattern if analyzed for a long enough period.
This tutorial covers three easy ways to implement some form of acceleration in your Arduino sketches. It will cover the following:
- Linear Acceleration
- Exponential Acceleration
- Messing Around with the Square Root function
What is Acceleration?
Acceleration is the rate of change of something over time. Acceleration would help describe things like: