wokwi / avr8js

Arduino (8-bit AVR) simulator, written in JavaScript and runs in the browser / Node.js
https://blog.wokwi.com/avr8js-simulate-arduino-in-javascript/
MIT License
461 stars 73 forks source link

Do Avr8js have methods such as Digitalwrite and Analogwrite? #157

Open Green-hcq opened 1 month ago

Green-hcq commented 1 month ago

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.

Green-hcq commented 1 month ago

Because I want to use these two methods to test component wiring without code, and then score the test data results.