Skip to content

Commit

Permalink
Using multiple Resources for the touch pads
Browse files Browse the repository at this point in the history
  • Loading branch information
Jean THOMAS committed Feb 3, 2020
1 parent 9f3b8a2 commit 27b33ed
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions nmigen_boards/fomu_pvt.py
Expand Up @@ -35,12 +35,10 @@ class FomuPVTPlatform(LatticeICE40Platform):
attrs=Attrs(IO_STANDARD="SB_LVCMOS"),
),

Resource("touch", 0,
Subsignal("TOUCH_1", Pins("E4")),
Subsignal("TOUCH_2", Pins("D5")),
Subsignal("TOUCH_3", Pins("E5")),
Subsignal("TOUCH_4", Pins("F5")),
),
Resource("touch", 0, Pins("E4")),
Resource("touch", 1, Pins("D5")),
Resource("touch", 2, Pins("E5")),
Resource("touch", 3, Pins("F5")),
]

connectors = []
Expand Down

0 comments on commit 27b33ed

Please sign in to comment.