eeeck
4bada93fd0
Move HVPP to separate repo
2026-01-18 23:51:32 +01:00
eeeck
f231e0d8a7
Remove port and baud options
...
- Avrdude should already be capable to recognize the correct port on
which the usbasp is connected
- Removing baudrate, instead using slock_sck on usbasp
2026-01-18 14:22:30 +01:00
eeeck
aca1b5460b
Design voltage regulator for HVPP
2026-01-18 14:00:39 +01:00
eeeck
15fd71c783
Initialize HVPP EDA
2026-01-18 14:00:25 +01:00
eeeck
f9e0b259d8
Fix typo in macro declaration
2026-01-10 20:54:10 +01:00
eeeck
aebf167ab5
Change ticks to bpm calc to a macro
2026-01-09 14:39:05 +01:00
eeeck
5357bcfaaf
Create tap tempo ISR branching logic
2026-01-09 13:48:26 +01:00
eeeck
447865df4e
Enable interrupt on INT0
2026-01-09 13:47:45 +01:00
eeeck
12a61f1327
Update comments and whitespace
2026-01-09 12:37:41 +01:00
eeeck
0028500ffe
Rename file to bpm.inc
2026-01-09 12:29:42 +01:00
eeeck
6d533bfac8
Fix typo
2026-01-09 12:00:49 +01:00
eeeck
5b13d36872
Correctly initialize gp registers
2026-01-09 12:00:37 +01:00
eeeck
c60cf269fd
Rewrite for GNU compiler compat
2026-01-09 12:00:23 +01:00
eeeck
fda87c6cfe
Remove leftover interrupt vector
2026-01-09 12:00:03 +01:00
eeeck
eed7f4b089
Fix typo
2026-01-09 11:59:44 +01:00
eeeck
ee5fec8ea4
Move BPM update macro to tap-tempo.inc
2026-01-09 11:46:33 +01:00
eeeck
314e77f971
Streamline main loop operations
2026-01-09 11:42:42 +01:00
eeeck
eb2bcfa533
Update setup operations
2026-01-09 11:42:18 +01:00
eeeck
7c340694cf
Remove old comments
2026-01-09 11:42:02 +01:00
eeeck
d71206c5c3
Move to top for callback order
2026-01-09 11:41:53 +01:00
eeeck
eeafb625e8
Add new interrupt vector table
2026-01-09 11:41:29 +01:00
eeeck
f42178941e
Rename file: timer0 will manage tap tempo
...
- Led will be connected via a 555 monostable on the MIDI line
2026-01-09 11:41:00 +01:00
eeeck
e24c4ee591
Add register usage comment
2026-01-09 11:40:24 +01:00
eeeck
8205c7892a
Update timer0 logic for tap tempo with overflow counter. Update timer1
...
setup
2026-01-09 11:40:14 +01:00
eeeck
a6376aa7ab
Update timer1 ISR logic with overflow counter and accumulator
2026-01-09 11:39:30 +01:00
eeeck
7b70962159
Inline with macros to save on jump clock cycles
2025-12-31 23:22:21 +01:00
eeeck
c673e7c7a5
Remove unnecessary double jump
2025-12-31 22:54:47 +01:00
eeeck
b3d7d19579
Tail jump from ISR to stop_blink
...
- Saves 7 clock cycles per call vs. previous implementation
2025-12-31 22:45:12 +01:00
eeeck
5d15088588
Remove or comment out unnecessary code
2025-12-31 22:19:36 +01:00
eeeck
a4ac267138
Setup stack pointer and global interrup flag
2025-12-31 22:11:37 +01:00
eeeck
fe105f329e
Declare vector table
2025-12-31 22:11:04 +01:00
eeeck
9ef5eb4698
Implement ISR for stop_blink
2025-12-31 22:10:40 +01:00
eeeck
0a689d83b6
Call start_blink on main to test blinking
2025-12-31 22:09:50 +01:00
eeeck
d0e80431df
Fix bug that led to a stack overflow
2025-12-31 22:08:20 +01:00
eeeck
e74d9369e1
Make comments more clear
2025-12-26 22:07:17 +01:00
eeeck
b1b14bcdfa
Use C preprocessor for includes
2025-12-26 16:11:53 +01:00
eeeck
29f85d29ae
Enable timer0 interrupt
2025-12-26 16:11:23 +01:00
eeeck
abf11b188f
Move COM0A0 setup to led.inc
2025-12-26 16:10:55 +01:00
eeeck
d59da84a58
Use return to ISR directive
2025-12-26 16:10:31 +01:00
eeeck
a2b5b18f3d
Set PB0 after counter starts
2025-12-26 16:10:15 +01:00
eeeck
08c02aeb46
Correct register name TIFR
2025-12-26 16:09:55 +01:00
eeeck
1568ef8195
Remove duplicate definitions
2025-12-26 16:08:09 +01:00
eeeck
d40b003f51
Improve definitions
2025-12-26 16:07:17 +01:00
eeeck
8a62a65805
Change subroutines name
2025-12-25 23:15:42 +01:00
eeeck
90b498dd94
Fix instructions for better compat for callback from main
2025-12-25 23:01:57 +01:00
eeeck
129fd24253
Rename and change file extension. Add callbacks to timer func
2025-12-25 22:48:53 +01:00
eeeck
423ba3d9ff
Delete flash.sh
2025-12-25 22:46:06 +01:00
eeeck
93c605b850
Sync LED blink behaviour to timer0
2025-12-25 22:44:29 +01:00
eeeck
f5a6e1f055
Setup timer0 and timer1
2025-12-25 22:43:49 +01:00
eeeck
39b6beb6f0
Create .gitattributes
2025-12-25 22:43:29 +01:00