if there are problems with git, i use the following command
sequence for downloading and build.
mkdir oscope
cd oscope
git clone git://github.com/alvieboy/arduino-serpro.git
git clone git://github.com/alvieboy/arduino-oscope.git
cd ./arduino-serpro
git pull origin development
cd ../arduino-oscope
git pull origin serpro
for i in ../arduino-serpro/*.{cpp,h}; do ln -s $i; done
cd UI && ./configure && make
cd ../..
ln -s ./arduino-oscope/oscope.pde
ln -s ./arduino-oscope/protocol.h
ln -s ./arduino-oscope/SerPro.h
ln -s ./arduino-serpro/SerProHDLC.h
ln -s ./arduino-serpro/preprocessor_table.h
ln -s ./arduino-serpro/crc16.cpp
ln -s ./arduino-serpro/crc16.h
ln -s ./arduino-serpro/Packet.h
ln -s ./arduino-serpro/SerProCommon.h
Now you can open /oscope/oscope.pde with Arduino IDE
and upload to Arduino Duemilanowe or Arduino Mega.
Connect using a 10K resistor
on Arduino Duemilanowe:
Pin 9 --> 10k --> a0
pin 10 --> 10k --> a1
on Arduino Mega:
Pin 11 --> 10k --> a0
pin 12 --> 10k --> a1
start scoping:
./arduino-oscope/UI/oscope /dev/ttyUSB0