public Base(UControllerType controller) { UController = controller; switch (controller) { case UControllerType.ATMega128RFA1: DeviceSignature = 128; NumPorts = 7; NumPins = 8; AnalogPorts = new String[8] { "F0", "F1", "F2", "F3", "F4", "F5", "F6", "F7" }; PWMPorts = new String[8] { "B4", "B5", "B6", "B7", "E3", "E4", "E5", "G5" }; //VERSION MINOLO:{ "B4", "B7", "G5" } el B7 y el G5 estan compartidos con el mismo timer UnavailablePorts = new String[2] { "G3", "G4" }; //TODO: de momento estos pero hay que chequear LittleEndian = true; break; default: throw new Exception(); } }
public Base(UControllerType controller) { UController = controller; switch (controller) { case UControllerType.ATMega128RFA1: DeviceSignature = 128; NumPorts = 7; NumPins = 8; AnalogPorts = new String[8] { "F0", "F1", "F2", "F3", "F4", "F5", "F6", "F7" }; PWMPorts = new String[8] { "B4", "B5", "B6", "B7", "E3", "E4", "E5", "G5" }; //VERSION MINOLO:{ "B4", "B7", "G5" } el B7 y el G5 estan compartidos con el mismo timer UnavailablePorts = new String[2] { "G3", "G4" }; //TODO: de momento estos pero hay que chequear LittleEndian = true; break; default: throw new Exception(); } }