0

MiniPov4 image converter and Processing 3.0.1
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

MiniPov4 image converter and Processing 3.0.1

by FatCat0 on Thu Dec 03, 2015 4:03 pm

I just put together my MiniPOV and want to try out some images on it. I downloaded the image converter sketch and the latest version of Processing (3.0.1), and installed the CP5 library, but when I try to run the sketch I get an error of:
Code: Select all | TOGGLE FULL SIZE
the method showOpenDialog(Component) in the type JFileChooser is not applicable for the arguments (MiniPov4_ImageConverter)

This points to Line 205:
Code: Select all | TOGGLE FULL SIZE
  if (fc.showOpenDialog(this) == JFileChooser.APPROVE_OPTION)


I have virtually zero Java experience so while I've done some searching around I can't find a mechanism to address this that I actually understand how to implement. Is this an incompatibility with Processing 3 (the tutorial references Processing 2.1 or something), or something more fundamental I've messed up? If the former, is it one that can be addressed in a straightforward manner? I would rather not have multiple versions of Processing installed, and I don't see the merit in learning to use an old version of the software over learning on what will presumably be the standard version for a while.

FatCat0
 
Posts: 22
Joined: Sun Nov 01, 2015 9:24 pm

Re: MiniPov4 image converter and Processing 3.0.1

by adafruit_support_rick on Fri Dec 04, 2015 12:09 pm

I think you can still download Processing 2.1. I suggest downgrading. Meanwhile I'll pass along the report of incompatibility with 3.0

adafruit_support_rick
 
Posts: 35095
Joined: Tue Mar 15, 2011 11:42 am
Location: Buffalo, NY

Re: MiniPov4 image converter and Processing 3.0.1

by FatCat0 on Fri Dec 04, 2015 12:58 pm

I know I can get processing 2, and I'll try that out next time I get around to playing with the PoV. Thanks for passing along the compatability issue, it would be nice to eventually be able to just use the newer version.

Side question: has this viewtopic.php?f=11&t=81606 (slow blinking when re-uploading the firmware) been addressed yet? I actually do want to tweak this once I get the basic functionality down, but I don't want to break the thing.

FatCat0
 
Posts: 22
Joined: Sun Nov 01, 2015 9:24 pm

Re: MiniPov4 image converter and Processing 3.0.1

by adafruit_support_rick on Fri Dec 04, 2015 5:28 pm

I think he probably messed something up when he modified the code. Stick with Arduino 1.0.5 and you should be OK

adafruit_support_rick
 
Posts: 35095
Joined: Tue Mar 15, 2011 11:42 am
Location: Buffalo, NY

Re: MiniPov4 image converter and Processing 3.0.1

by jjroberts on Tue Oct 04, 2016 4:07 pm

I'm having same problem. Does the "converter" sketch have to work before you can see the "open image" menu selection? I'm using the latest version of processing. At what point do you dump the sketch onto the controller itself?

jjroberts
 
Posts: 8
Joined: Mon Aug 15, 2016 10:52 am

Re: MiniPov4 image converter and Processing 3.0.1

by adafruit_support_rick on Wed Oct 05, 2016 11:34 am

Yeah, you need to have the image converter working. That's where the open image menu item is. After loading the image, there's a download to minipov menu item

adafruit_support_rick
 
Posts: 35095
Joined: Tue Mar 15, 2011 11:42 am
Location: Buffalo, NY

Re: MiniPov4 image converter and Processing 3.0.1

by jjroberts on Thu Oct 13, 2016 10:27 am

I'm using 32 bit windows machine and processing v3.2.1. The "converter" sketch will not run. It's hanging up on line 205 of the code. if (fc.showOpenDialog(this) == JFileChooser.APPROVE_OPTION) I'm not sure if that could be from a driver issue or coding issue. Nevertheless, I can't get the minipov 4 to work. The unit does go through the proper start when on battery.

Is there a 32 bit windows driver? If so, where might I find it. I have installed the Adafruit windows drivers.

I see other users having trouble with the sketch in newer versions of processing. I'm at a loss. Please help.

jjroberts
 
Posts: 8
Joined: Mon Aug 15, 2016 10:52 am

Re: MiniPov4 image converter and Processing 3.0.1

by adafruit_support_rick on Thu Oct 13, 2016 10:36 am

I think you'll have to downgrade to Processing 2. The error you're getting is not a driver issue.

adafruit_support_rick
 
Posts: 35095
Joined: Tue Mar 15, 2011 11:42 am
Location: Buffalo, NY

Re: MiniPov4 image converter and Processing 3.0.1

by ipsbishop on Mon Nov 21, 2016 10:05 am

MiniPOV4 Windows 7 64b Built unit, tests okay and driver installed. "Processing" moved to new Github site and there are a slew of them. Which one do I use? There is no obvious 2.0.3 on the site.

ipsbishop
 
Posts: 6
Joined: Mon Apr 07, 2014 7:50 am

Re: MiniPov4 image converter and Processing 3.0.1

by jjroberts on Mon Nov 21, 2016 10:48 am

Using XP machine I downgraded to processing 2.something. It worked just fine. The latest version would not work. At one point I was not finding the downgrade version on the processing website. Adafruit provided a link to processing website that worked.

https://processing.org/download/?processing:

Thanks to Nick with Adafruit team!

jjroberts
 
Posts: 8
Joined: Mon Aug 15, 2016 10:52 am

Please be positive and constructive with your questions and comments.