func (m HardwarePinMap) Add(pin Pin, names []string, modules []string) {
	m[pin] = &PinDef{pin, names, modules}
}
Add a pin to the map
package hwio
import (
	"strings"
)
type PinIOMode int
const (
	INPUT PinIOMode = iota
	OUTPUT
	INPUT_PULLUP
	INPUT_PULLDOWN
)
func (mode PinIOMode) String() string {
	switch mode {
	case INPUT:
		return "INPUT"
	case OUTPUT:
		return "OUTPUT"
	case INPUT_PULLUP:
		return "INPUT_PULLUP"
	case INPUT_PULLDOWN:
		return "INPUT_PULLDOWN"
	}
	return ""
}
const (
	HIGH = 1
	LOW  = 0
)
type Pin int
type PinDef struct {
	pin     Pin       
	names   []string  
	modules []string  
}
type PinList []Pin
type HardwarePinMap map[Pin]*PinDef