jkirch86
Newbie level 1
I'm working on a project for a simple 4 led compass.
I am using a 3 axis compass module with IIC output.
What I need is a way to turn the leds on or off when the compass is pointing north, south, east, and west.
For example I will use 1 red, 1 blue, 1 green, and 1 yellow. When the compass is heading north, only turn the red on, when east turn the green on, south = yellow, and west = blue.
Any recommendations for the simplest and smallest way to do this?
Thanks for all the help.
I am using a 3 axis compass module with IIC output.
What I need is a way to turn the leds on or off when the compass is pointing north, south, east, and west.
For example I will use 1 red, 1 blue, 1 green, and 1 yellow. When the compass is heading north, only turn the red on, when east turn the green on, south = yellow, and west = blue.
Any recommendations for the simplest and smallest way to do this?
Thanks for all the help.