blink65 1.0
Write Arduino-style sketches for VIC-20 and Commodore 64.
Loading...
Searching...
No Matches
Macros
pins.h File Reference

Go to the source code of this file.

Macros

#define NUM_DIGITAL_PORTS   3
 
#define NUM_DIGITAL_PINS   15
 
#define NUM_ANALOG_INPUTS   0
 
#define PIN_C   0
 VIA1 PB0.
 
#define PIN_D   1
 VIA1 PB1.
 
#define PIN_E   2
 VIA1 PB2.
 
#define PIN_F   3
 VIA1 PB3.
 
#define PIN_H   4
 VIA1 PB4.
 
#define PIN_J   5
 VIA1 PB5.
 
#define PIN_K   6
 VIA1 PB6.
 
#define PIN_L   7
 VIA1 PB7~, tone.
 
#define PIN_M   8
 VIA1 CB2~, tone.
 
#define PIN_4   9
 VIA1 PA2.
 
#define PIN_5   10
 VIA1 PA3.
 
#define PIN_6   11
 VIA1 PA4.
 
#define PIN_7   12
 VIA1 PA5.
 
#define PIN_8   13
 VIA1 PA6.
 
#define PIN_9   14
 VIA1 PA7.
 
#define LED_BUILTIN   PIN_C
 

Macro Definition Documentation

◆ LED_BUILTIN

#define LED_BUILTIN   PIN_C

◆ NUM_ANALOG_INPUTS

#define NUM_ANALOG_INPUTS   0

◆ NUM_DIGITAL_PINS

#define NUM_DIGITAL_PINS   15

◆ NUM_DIGITAL_PORTS

#define NUM_DIGITAL_PORTS   3

◆ PIN_4

#define PIN_4   9

VIA1 PA2.

◆ PIN_5

#define PIN_5   10

VIA1 PA3.

◆ PIN_6

#define PIN_6   11

VIA1 PA4.

◆ PIN_7

#define PIN_7   12

VIA1 PA5.

◆ PIN_8

#define PIN_8   13

VIA1 PA6.

◆ PIN_9

#define PIN_9   14

VIA1 PA7.

◆ PIN_C

#define PIN_C   0

VIA1 PB0.

◆ PIN_D

#define PIN_D   1

VIA1 PB1.

◆ PIN_E

#define PIN_E   2

VIA1 PB2.

◆ PIN_F

#define PIN_F   3

VIA1 PB3.

◆ PIN_H

#define PIN_H   4

VIA1 PB4.

◆ PIN_J

#define PIN_J   5

VIA1 PB5.

◆ PIN_K

#define PIN_K   6

VIA1 PB6.

◆ PIN_L

#define PIN_L   7

VIA1 PB7~, tone.

◆ PIN_M

#define PIN_M   8

VIA1 CB2~, tone.