nalle / hall-effect-sensor

A Hall Effect measurement system for measuring power/amperage for graphing
GNU General Public License v3.0
0 stars 1 forks source link

Implement functions for DIL-Switches #5

Closed nalle closed 8 years ago

nalle commented 8 years ago

On the board there is a 2 channel DIL-Switch.

This is meant to set the circuit into the following modes:

1) AC or DC measurements 2) Reset the stored data in the circuit

Suggestion would be that state 0 and 0 is AC state 1 and 0 s DC state 1 and 1 is RESET (While booting and afterwards is AC)

Which leaves state 0 and 1 as unused, perhaps some kind of auto-calibration thing in the future?

First channel is attached to D7 and second to D8