Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
osie
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Nikola Balog
osie
Commits
d199258d
Commit
d199258d
authored
Jun 23, 2020
by
Ivan Tyagov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adjust for debian 10.
parent
ee400a95
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
6 deletions
+3
-6
examples/lime2-mod-io-relay-on_off.py
examples/lime2-mod-io-relay-on_off.py
+3
-6
No files found.
examples/lime2-mod-io-relay-on_off.py
View file @
d199258d
...
...
@@ -41,24 +41,21 @@ root@a20-olinuxino:~# apt update
root@a20-olinuxino:~# apt upgrade
root@a20-olinuxino:~# reboot now
# XXX: had to set DNS in /etc/resolv.conf to 8.8.8.8 instead of 127.0.0.57
# install python
olimex@a20-olinuxino:~$ sudo bash
root@a20-olinuxino:~# apt install python3
root@a20-olinuxino:~# apt install python3-venv python3-pip
root@a20-olinuxino:~# python3 -m pip install --upgrade pip setuptools wheel
root@a20-olinuxino:~# python3 -m pip install --upgrade pip setuptools wheel
root@a20-olinuxino:~# pip3 install pyA20Lime2
# enable i2c-1 by running and selecting it (temporary step until fixed by Olimex)
root@a20-olinuxino:~# olinuxino-overlay
# enable i2c-1 by running and selecting it (temporary step until fixed by Olimex
but not needed for debian 10!
)
root@a20-olinuxino:~# olinuxino-overlay
# prove it's enabled by
root@a20-olinuxino:~# i2cdetect -r 1 # should show 0х58 is available
# connect MOD-IO through UEXT cable to UEXT2 at LIME2-SHIELD and power it (12V adapter)
II. finally run this script as root, you should see RELAY1's led showing green color.
III. Integration with Nexedi's toolset for Wendelin
...
...
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