-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathREADME
70 lines (40 loc) · 1.47 KB
/
README
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
59
60
61
62
63
64
65
66
67
68
69
# piscope: a digital waveform viewer for the Raspberry
# Extract the archive to a directory
tar xvf piscope.tar
# In that directory
cd PISCOPE
# To utilise a pre-built executable use one of the following make commands
make hf # to run on a Pi
make x86_64 # to run on a 64 bit Linux PC
# To build the executable from source
# If you can edit the packages to be downloaded and remove any
# packages with names ending in -dbg. That will significantly
# reduce the amount of SD card space needed.
sudo apt-get install gtk+-3.0 # may take a long time
# On Debian 9 (Stretch):
sudo apt-get install libgtk-3-dev
make
# to install
make install
# which installs
# - the executable (piscope) to /usr/local/bin
# - the ui definition(piscope.glade) to /usr/share/piscope
# To run you need the pigpio daemon
wget https://github.com/joan2937/pigpio/archive/master.zip
unzip master.zip
cd pigpio-master
make
sudo make install
# On the Pi
sudo pigpiod # launch the pigpio daemon
# If running piscope on another machine you have 2 ways to connect:
# 1) Set the remote address via environment variables BEFORE launching piscope
export PIGPIO_ADDR=host # where host is the Pi's hostname
# or
export PIGPIO_ADDR=x.x.x.x # where x.x.x.x is the Pi's IP address.
# then
piscope &
# 2) Set the remote address in the preferences dialog
piscope &
# then open the preferences dialog and set Pi's hostname/address
# Note: if set, the PIGPIO_ADDR environment variable takes precedence