Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
A
AIDA-2020 TLU - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
AIDA-2020 TLU - Software
Commits
7b09e8c7
Commit
7b09e8c7
authored
Aug 14, 2018
by
Paolo Baesso
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor tweaks and added David's latest firmware (which might still have some bugs)
parent
ab189fa3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
19 deletions
+21
-19
localIni.ini
TLU_v1e/scripts/localIni.ini
+2
-0
top_tlu_v1e_0x1e000013.bit
bitFiles/top_tlu_v1e_0x1e000013.bit
+0
-0
I2CDISP.py
packages/I2CDISP.py
+19
-19
No files found.
TLU_v1e/scripts/localIni.ini
View file @
7b09e8c7
...
...
@@ -25,6 +25,8 @@ I2C_ID_Addr = 0x50
I2C_EXP1_Addr
=
0x74
#I2C address of 2st expander PCA9539PW
I2C_EXP2_Addr
=
0x75
#I2C address of EEPROM on powermodule
I2C_pwrId_Addr
=
0x51
#I2C address of AD5665R on powermodule
I2C_DACModule_Addr
=
0x1C
# Max value for control voltage on PMTs (usually 1 V)
...
...
bitFiles/top_tlu_v1e_0x1e000013.bit
0 → 100644
View file @
7b09e8c7
File added
packages/I2CDISP.py
View file @
7b09e8c7
...
...
@@ -167,7 +167,7 @@ class LCD09052:
### Position the cursor on a specific location
## line can be 1 (top) or 2 (bottom)
## pos can be [1, 16}
if
(
(
line
==
1
)
or
(
line
==
2
)
and
(
1
<=
pos
<=
self
.
nCols
)):
if
(
((
line
==
1
)
or
(
line
==
2
)
)
and
(
1
<=
pos
<=
self
.
nCols
)):
i2ccmd
=
[
2
,
line
,
pos
]
mystop
=
True
self
.
i2c
.
write
(
self
.
slaveaddr
,
i2ccmd
,
mystop
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment