Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
A
adc-lib
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
adc-lib
Commits
21e8289f
Commit
21e8289f
authored
Aug 18, 2020
by
Federico Vaga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
py: move all devices to the PyAdcLib module
Signed-off-by:
Federico Vaga
<
federico.vaga@cern.ch
>
parent
dd1ea3b5
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
14 deletions
+13
-14
PyAdcGenericFake.py
PyAdcLib/PyAdcLib/PyAdcGenericFake.py
+0
-7
PyAdcLib.py
PyAdcLib/PyAdcLib/PyAdcLib.py
+13
-0
PyAdcZioFake.py
PyAdcLib/PyAdcLib/PyAdcZioFake.py
+0
-7
No files found.
PyAdcLib/PyAdcLib/PyAdcGenericFake.py
deleted
100644 → 0
View file @
dd1ea3b5
from
PyAdcLib
import
ADC_Generic
class
AdcGenericFake
(
ADC_Generic
):
BOARD_NAME
=
"adc-genericfake"
def
__init__
(
self
,
devid
):
super
(
AdcGenericFake
,
self
)
.
__init__
(
devid
)
PyAdcLib/PyAdcLib/PyAdcLib.py
View file @
21e8289f
...
...
@@ -405,3 +405,16 @@ class PyFmcAdc100m14b4ch(PyAdcAbstract):
f
.
write
(
"adc 1 0x{:x}"
.
format
(
value
))
else
:
f
.
write
(
"adc 0"
)
class
AdcGenericFake
(
ADC_Generic
):
BOARD_NAME
=
"adc-genericfake"
def
__init__
(
self
,
devid
):
super
(
AdcGenericFake
,
self
)
.
__init__
(
devid
)
class
AdcZioFake
(
ADC_Generic
):
BOARD_NAME
=
"adc-ziofake"
def
__init__
(
self
,
devid
):
super
(
AdcZioFake
,
self
)
.
__init__
(
devid
)
PyAdcLib/PyAdcLib/PyAdcZioFake.py
deleted
100644 → 0
View file @
dd1ea3b5
from
PyAdcLib
import
ADC_Generic
class
AdcZioFake
(
ADC_Generic
):
BOARD_NAME
=
"adc-ziofake"
def
__init__
(
self
,
devid
):
super
(
AdcZioFake
,
self
)
.
__init__
(
devid
)
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