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 C64_PINS_H
4#define C64_PINS_H
5
6#define NUM_DIGITAL_PORTS 2
7#define NUM_DIGITAL_PINS 9
8#define NUM_ANALOG_INPUTS 0
9
10#define PIN_C 0 /* PB0 */
11#define PIN_D 1 /* PB1 */
12#define PIN_E 2 /* PB2 */
13#define PIN_F 3 /* PB3 */
14#define PIN_H 4 /* PB4 */
15#define PIN_J 5 /* PB5 */
16#define PIN_K 6 /* PB6 */
17#define PIN_L 7 /* PB7 */
18#define PIN_M 8 /* PA2 */
19
20#define LED_BUILTIN PIN_C
21
22#endif /* C64_PINS_H */
23/*--------------------------------------------------------------------------*/