New oscope - new UI, new features

And a new screenshot, with two new features (requested by wally, who also has been kind enough to test the beast).

So there's a PWM generation function, with two outputs. PWM frequency uses timer1, and goes from 1Hz to 80KHz. It uses a non-linear (exponential) knob. PWM is generated using frequency and phase correct mode. The two outputs (OC1A and OC1B) have a min. resolution of 100 bits for PWM duty cycle. This duty cycle can be set from 0 to 100.

There's also a new "Screenshot.." button which will write a PNG file with current waveform. Files are named sequentially so not to overwrite previous screenshots.

Hope you all like it. I'd also love more people to use the Linux GTK UI. This before I move to updating Java one.

Álvaro

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

A little feedback.
I've successfully built the application on a Fedora Core 12.
Only thing I had to do is to edit Makefile.in which explicitly reference g++-4.3, I've removed the "-4.3" part to make it work.

I've connected a 433Mhz RF receiver to the A0 pin of my duemilanove to visualize the signal of an RF remote. I can see the signal clearly, though trigger and hold doesn't seems to work on this version.
I've used a previous java version on Windows and I could get the trigger to work even though the data acquisition was not really stable, sometimes it was freezing.

An idea that I would like to see implemented is a recording function.
In a first time it could just be a dump of the data in a WAV file so it would be easy to display/edit the data with other software.

Anyway, it's a very interesting project.
Big thanks for your work.

I've successfully built too the application on a Ubuntu 9.10.
I've removed the "-4.3" in Makefile.in and works very fine
Thanks

works well on Sidux (debian sid) ;D