Best Answer Poroh-kun, 15 March 2013 - 07:05 PM
oh.. thanks, but i was already found the problem.
i was conflict between this:
static OutputPort[] leds = new OutputPort[7]{ new OutputPort(Pins.GPIO_PIN_D7, false), new OutputPort(Pins.GPIO_PIN_D8, false), new OutputPort(Pins.GPIO_PIN_D9, false), new OutputPort(Pins.GPIO_PIN_D10, false), new OutputPort(Pins.GPIO_PIN_D11, false), new OutputPort(Pins.GPIO_PIN_D12, false), new OutputPort(Pins.GPIO_PIN_D13, false)};
and this:
PWM pwm = new PWM(Pins.GPIO_PIN_D10);
there are two items on D10.. omg, i so sad..
Go to the full post