Skip to content

Commit

Permalink
Moved to PB6 to separate the IRQ from the GPIO
Browse files Browse the repository at this point in the history
  • Loading branch information
juchong authored and ej113 committed Oct 30, 2023
1 parent 38fd7ce commit 9fa161c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions 3DPro.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@
* ================
*
* PB0 -- PD0 Button1 (INT) PF0 --
* PB1 Button2 PD1 Button1 PF1 --
* PB1 Button2 PD1 -- PF1 --
* PB2 Button3 PD2 -- PE2 --
* PB3 Button4 PD3 MIDI (out)
* PB4 X1 axis PD4 -- PF4 --
* PB5 Y2 axis PD5 LED PF5 --
* PB6 -- PC6 -- PD6 -- PE6 -- PF6 --
* PB6 Button1 PC6 -- PD6 -- PE6 -- PF6 --
* PB7 -- PC7 -- PD7 -- PF7 --
*
* Pinout AT90USBX6 (out dated!)
Expand Down
2 changes: 1 addition & 1 deletion 3DPro.h
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
#define TRGX1BIT DDB4

#define BUTPIN PINB
#define BUT1 PD1
#define BUT1 PB6
#define BUT2 PB1
#define BUT3 PB2
#define BUT4 PB3
Expand Down
2 changes: 1 addition & 1 deletion 3DProasm.S
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
;* Joystick button mapping
;* =======================
;*
;* B1 - PD1
;* B1 - PB6
;* B2 - PB1
;* B3 - PB2
;* B4 - PB3
Expand Down

0 comments on commit 9fa161c

Please sign in to comment.