In function 'void setup_adc()':PRR &= ~BIT(PRADC); /* Disable ADC power reduction */error: 'PRR' was not declared in this scope
$ cd Desktop (or the folder where you downloaded the script)$ sudo sh ./fixperm-217-leo.shPassword: <your administrator password>
$ java -jar arduino-oscope.jar
Experimental: JNI_OnLoad called.Stable Library=========================================Native lib Version = RXTX-2.1-7Java lib Version = RXTX-2.1-7found /dev/tty.modemfound /dev/cu.modemfound /dev/tty.usbserial-A9007U6Zfound /dev/cu.usbserial-A9007U6Zfound /dev/tty.Nokia6131-NokiaPCSui-1found /dev/cu.Nokia6131-NokiaPCSui-1found /dev/tty.Nokia6131-Dial-upnetwor-2found /dev/cu.Nokia6131-Dial-upnetwor-2found /dev/tty.Bluetooth-PDA-Syncfound /dev/cu.Bluetooth-PDA-Syncfound /dev/tty.Bluetooth-Modemfound /dev/cu.Bluetooth-Modemfound /dev/tty.Nokia6131-NokiaPCSuite-1found /dev/cu.Nokia6131-NokiaPCSuite-1
SelectRXTX Warning: Removing stale lock file. /var/lock/LK.001.009.016Port /dev/tty.usbserial-A9007U6Z open successfullyPinging device
New trigger 0New trigger 2New trigger 3New trigger 5New trigger 6New trigger 8New trigger 9New trigger 11New trigger 11New trigger 11New trigger 9New trigger 6New trigger 5New trigger 3New trigger 0New trigger 0
New prescaler 5 (32)New prescaler 7 (128)
Num samples: 962Invalid packet 135 in state PING, expecting 227
Code: [Select]PRR &= ~BIT(PRADC); /* Disable ADC power reduction */
PRR &= ~BIT(PRADC); /* Disable ADC power reduction */
Code: [Select]RXTX Warning: Removing stale lock file. /var/lock/LK.001.009.016Port /dev/tty.usbserial-A9007U6Z open successfullyPinging device
RXTX Warning: Removing stale lock file. /var/lock/LK.001.009.016Port /dev/tty.usbserial-A9007U6Z open successfullyPinging device
PRR &= ~BIT(PRADC);
PRR0 &= ~BIT(PRADC);
I had a friend testing this on a Mac, and he did not experience any freeze.
You tested again with my latest sketch, right ?
Do you have any errors in "dmesg" about the ftdi driver ? I often have.
I'm using iMac G5 running with Mac OS Tiger, what is your friend Mac & OS ?
I believe so, tested the sketch you sent me by mail yesterday but to be sure, please send me again your last sketch.
We did test together via skype chat yesterday, no error message at all.
Not sure, I'll ask him. I remember he had to switch to Java 32 bit, cause he's on a 64-bit platform.
You can always get the latest version here: http://github.com/alvieboy/arduino-oscope
I'll try your new sketch (.pde and .h) but I cannot find your new arduino-oscope.jar !
What should i do to compile or build arduino-oscope.jar from your java files on my Macintosh ?
It's also there, in the downloads section.