I’ve just received my Pocket CHIP mobile linux computer,
Wondering if anyone knows of a way I can develop for an Arduboy on the Pocket CHIP.
And maybe even deploy from the Pocket CHIP directly on to the Arduboy.
So I can do all development and testing on the go, without a laptop.
Yes you can! It would be a matter of mapping functions across API’s. Think of it like what you do when translating from one language to a next, the meaning will be the same but the words you use different.
Ah ok, interesting concept. Are you imagining writing values and variables to a program running on the Arduboy? Or are you imaging writing source code in the Pocket Chip? Excuse my ignorance, I haven’t had the pleasure of trying out a Pocket Chip yet.
It might help you can sort of outline how a session in this programming “environment” might go.
It’s a bad habit of mine (speaking for other people), but if I’m reading this correctly, then yes, @quangdx is looking to write C++ code on his Pocket CHIP to run on the Arduboy.
The Pocket CHIP runs a variant of Debian Linux, so if there is a development suite available, then one should be install-able. You could try to see if there is an Arduino development system available for the Raspberry Pi, as that uses a very similar Linux OS and is somewhat cross compatible.
My Pocket CHIP arrived at home today, sadly I’m interstate for another 48 hours, so I can’t play with it.
Edit: Here are two links for the Raspberry Pi that might help with the Pocket CHIP. Follow the install instructions and see how you get on.
WOW!! I like that! I am getting my 3D printer in soon, so I’d definitely be up for making a case, but the modular idea is nice. I hate to derail the conversation away from IDE, but if the Pocket Chip can do Arduboy development, along with having a nice enclosure, I might as well have to go ahead and get one!
It worked for me, and I’ve got the new IDE installed.
Edit: I’ve not been able to actually upload a sketch. I’ve changed the board type and the USB/Serial port to the correct one, but, no go. And unfortunately I can’t install any libraries, the screen goes black. So that may well be the issue.
And sadly you can’t see the bottom of the IDE so no compile errors etc show up.
Edit 2: I got it working.
I installed Iceweasel (web browser based on Firefox), used that to download both the Arduino IDE and the Arduboy library, installed the Arduboy library from the zip I downloaded and uploaded the sketch, and it works.
Yeah, I noticed that too ! It’s a bit crazy. Hopefully someone will figure out a way to make it display properly. I have a feeling that the main window will be too squashed if the debug window is available.
I didn’t actually get it to display on the main window with an icon. I just run it via the shell as well. I did run the install script first though, and like you run it via ./arduino.
The lib was the biggest pain in the arse, and has to be installed manually via the IDE.
Well I got some progress on the display of the screen…
Modified that. Changed full screen to true, window height default to 450 -still working on this one, I don’t need the debug tool at the bottom but would like to see all the code when I scroll.
Anyway this is still just me experimenting. I did set it all to the screen resolution of 480x272, bad idea, it looked no different than the older version. (Which I also was changing preference file to).