blink65 1.0
Write Arduino-style sketches for VIC-20 and Commodore 64.
Loading...
Searching...
No Matches
pins.h
Go to the documentation of this file.
1/*- blink65 - Copyright 2026 Fabio Carignano -------------------------------*/
2
3#ifndef VIC20_PINS_H
4#define VIC20_PINS_H
5
6#define NUM_DIGITAL_PORTS 3
7#define NUM_DIGITAL_PINS 15
8#define NUM_ANALOG_INPUTS 0
9
10#define PIN_C 0 /* VIA1 PB0 */
11#define PIN_D 1 /* VIA1 PB1 */
12#define PIN_E 2 /* VIA1 PB2 */
13#define PIN_F 3 /* VIA1 PB3 */
14#define PIN_H 4 /* VIA1 PB4 */
15#define PIN_J 5 /* VIA1 PB5 */
16#define PIN_K 6 /* VIA1 PB6 */
17#define PIN_L 7 /* VIA1 PB7 */
18#define PIN_M 8 /* VIA1 CB2 */
19#define PIN_4 9 /* VIA1 PA2 */
20#define PIN_5 10 /* VIA1 PA3 */
21#define PIN_6 11 /* VIA1 PA4 */
22#define PIN_7 12 /* VIA1 PA5 */
23#define PIN_8 13 /* VIA1 PA6 */
24#define PIN_9 14 /* VIA1 PA7 */
25
26#define LED_BUILTIN PIN_C
27
28#endif /* VIC20_PINS_H */
29/*--------------------------------------------------------------------------*/