On Fri, Mar 16, 2012 at 4:09 PM, Stéphane Ducasse <[email protected]
> wrote:

> >
> >
> >
> > > Pharo is unable to find some dependencies for Arduino –Compiler:
> CppKit, CppTranslatedProgram, CppProgramTranslator &  CProgram.
> > > Do you have any idea on how to fix this ?
> >
> > Did you try the image provided by ricardo because it works for etoy
> normally.
> >
> > Thanks for the reminder, Stef. If you want to try a one-click image for
> linux, I made this a couple of weeks ago:
> http://dl.dropbox.com/u/43706148/arduino.tar.gz. It's just for testing
> and it's based on the Etoys image, but it should be enough to get you
> started.
> >
> > If you try it, please tell me how does that work for you.
>
> I'm on mac and I do not have a board but I would love to have one to try.
> Does arduino work on Mac?
>

Well, what we did used to work in Mac thanks to Torsten Sadowski (cc'ed, I
hope he doesn't mind), who took the time to make it work. However, a lot of
things have changed since then and I can't tell for sure what is still
working now (specially because I don't have a Mac available for testing).

The main problem is the communication with the outside world, specially
with avr (which is needed to compile and upload programs to the board). As
you know, Pharo/Squeak/Etoys lacks proper support for this sort of things,
which we managed to get around by using FFI or OSProcess (depending on the
platform) and a couple of bash scripts. These scheme is overly complicated
and error-prone but has worked well for now (at least on windows).

The current unix version was done a couple of weeks ago and it's not 100%
tested, but I hope it won't give many troubles. If someone is interested in
making it work on Mac I can give you a few pointers on where to start
looking, I'm confident it shouldn't be too difficult since it's a matter of
adapting what has been done for unix.


> What do you suggest to order to have fun with kids.
>

If you want to use arduino with your kids I would recommend buying an
ArduinoUNO (the latest version) and some starter kit like
http://www.trossenrobotics.com/store/p/6335-Electronic-Brick-Starter-kit.aspx
(these
kits are specially useful for people like me that don't understand a thing
about electronics).
The coolest thing about arduino is the huge amount of libraries, examples,
tutorials and stuff in general that you can find on the web. And in case
you don't want to program in C, even though you can't use Physical Etoys on
Mac for the moment, there are some very nice graphical IDEs (I don't
remember the name but there was one that ran directly on the browser and it
had a graphical interface similar to scratch, very very nice).

Cheers,
Richo




> Stef
>
>
>

Reply via email to