avr8js
avr8js copied to clipboard
Do Avr8js have methods such as Digitalwrite and Analogwrite?
Hello Urish, Do Avr8js have methods such as Digitalwrite and Analogwrite? If not, could you guide me on how to implement these two methods? I now want to manually control the on/off light or breathing light through Avr8js, rather than relying on writing Cpp code to achieve it.
Because I want to use these two methods to test component wiring without code, and then score the test data results.
digitalWrite / analogWrite are Arduino specific methods. If you compile your code with Arduino, the resulting HEX file can be simulated in avr8js.