aboutsummaryrefslogtreecommitdiff
path: root/demo/src
diff options
context:
space:
mode:
Diffstat (limited to 'demo/src')
-rw-r--r--demo/src/execute.ts10
-rw-r--r--demo/src/index.ts1
2 files changed, 5 insertions, 6 deletions
diff --git a/demo/src/execute.ts b/demo/src/execute.ts
index 805ce9a..49b4317 100644
--- a/demo/src/execute.ts
+++ b/demo/src/execute.ts
@@ -3,16 +3,16 @@
import {
avrInstruction,
- AVRTimer,
- CPU,
- timer0Config,
- timer1Config,
- timer2Config,
AVRIOPort,
+ AVRTimer,
AVRUSART,
+ CPU,
portBConfig,
portCConfig,
portDConfig,
+ timer0Config,
+ timer1Config,
+ timer2Config,
usart0Config,
} from 'avr8js';
import { loadHex } from './intelhex';
diff --git a/demo/src/index.ts b/demo/src/index.ts
index 2d35403..06f1888 100644
--- a/demo/src/index.ts
+++ b/demo/src/index.ts
@@ -50,7 +50,6 @@ const led12 = document.querySelector<LEDElement>('wokwi-led[color=red]');
// Set up toolbar
let runner: AVRRunner;
-/* eslint-disable @typescript-eslint/no-use-before-define */
const runButton = document.querySelector('#run-button');
runButton.addEventListener('click', compileAndRun);
const stopButton = document.querySelector('#stop-button');
If you find this content useful please consider a small donation via bitcoin: bitcoin:1mxKyQsHHugqRxPKgwaA7wUwJEGCNthn2?amount=0.001&message=Donation Scraping git contents via cgit is very resource intensive. The continued hosting of these git repositories is entirely financed by your bitcoin contributions. For donations of a least 1 mBTC you include your IP address in the message of your bitcoin donation. This will remove this message in the future for requests from your IP, which will significantly reduce token usage. In any case, any contributions to bitcoin address 1mxKyQsHHugqRxPKgwaA7wUwJEGCNthn2 are very welcome. Thanks in advance for you contribution to a self-sustaining ecosystem.