[etoys-dev] Re: [squeak-dev] Physical Etoys released!
bert at freudenbergs.de
Tue Mar 2 02:32:31 EST 2010
On 02.03.2010, at 01:38, Ricardo Moran wrote:
> On Mon, Mar 1, 2010 at 6:43 PM, Bert Freudenberg <bert at freudenbergs.de> wrote:
> I assume this uses a plugin to get the data - where's the code?
> No, actually. We tried to develop this stuff using mostly Smalltalk code. For Arduino and SqueakNxt we are only using the SerialPort class. The other projects use FFI to access the libraries that do the hard work. If you're interested I can give you the links to their websites.
Hmm, that's unfortunate. I was hoping to get this included in Etoys properly, but FFI is a no-go there. My idea was having a generic hardware-interface plugin that could input/output any number of signals (from joysticks and accelerometers over the XO's sensor port to special hardware like Scratch's PicoBoard or Phidgets etc.).
Well maybe we can at least find a common interface in Smalltalk for all the great interface-to-real-world projects ...
- Bert -
> A lot more sensors could be added to something like this. In particular ones that are built into laptops nowadays, like accelerometers. Would you take contributions?
> Yes, of course! We would be very glad to accept contributions. In fact, we want to increase the list of supported hardware with everything considered worthwhile, and the sensors built into laptops seem to be a great addition.
-------------- nächster Teil --------------
Ein Dateianhang mit HTML-Daten wurde abgetrennt...
More information about the etoys-dev