-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnotes.txt
More file actions
58 lines (46 loc) · 839 Bytes
/
notes.txt
File metadata and controls
58 lines (46 loc) · 839 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
**********************************************************
* PROJECT MAESTRO NOTES
* ======================================================
* This file should contain all the little things we need
* to know while programming for our specific device, the
* PIC18F46k22.
* Things to include:
* -What pins you're using for what
* -What modules you're using for what
* -Common Numbers (Clock/Instruction Cycle Clock, etc)
***********************************************************
Clock:
16 MHz onboard oscillator => 4MHz Instruction Clock
Modules:
SSP1 => Talks to DACs
SSP2 => Talks to Arduino
Pins:
ANALOG INPUTS
PORTA
0
1
2
3
5
PORTE
0
1
2
PORTC
2
3
6
7
PORTD
1
PORTB
1
2
3
4
5
ANSELA = XX1X1111
ANSELB = XX111110
ANSELC = 110111XX
ANSELD = 00000010
ANSELE = XXXXX111