I've recived tofay two arduino based in Atmega168 chips. I've realized, after some proofs, that this Arduino is based in another chip respect the Arduino we had before. We've changed the preferences in de Arduino IDE and we've start programming it in order to verify that everything works ok. But then the problems have begin.
We've programmed a simple program which make a led blink, but it doesn't work. We're using an external alimentation (12v-1A) and we've verify that the power pin is on external alimentation, anyway it only works when it's connected with the USB (although it's powered by an external alimentation). We don't understand what it's happening. It's like it couldn't initialize. The same code it's verify in an another Arnuido board (based, in this case in an Atmega8 chip).
We've also tried to change pins values by using "digitalWrite(pin, HIGH)" and digitalWrite(pin, LOW)", in order to control qith those pins a DC motor driver. We know that the driver works, so we don't understand why we can control it qith the arduino. It seems that the pins don't have the values that we need, although we have program it with them.
Please, if someone know something about it, or have any idea, respond to this topic.
Thank you very much, and sorry for my english, it is not as good as I would like.