Seeking Tutorials on Serial Port I/O in Squeak

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Seeking Tutorials on Serial Port I/O in Squeak

Eric Eisaman
Hello Squeakers,
 
For some time now I have been building capacity in myself and my students to engage handcrafted peripherals in Squeak programs.  Are there any programming tutorials which taper a new learner into this type of venture in maybe EToys with some added Smalltalk code?
 
Eric Eisaman
Guam

_______________________________________________
Squeakland mailing list
[hidden email]
http://squeakland.org/mailman/listinfo/squeakland
Reply | Threaded
Open this post in threaded view
|

Re: Seeking Tutorials on Serial Port I/O in Squeak

Tapple Gao
On Mon, Dec 03, 2007 at 06:09:46AM +1000, Eric Eisaman wrote:
>    Hello Squeakers,
>    
>    For some time now I have been building capacity in myself and my students
>    to engage handcrafted peripherals in Squeak programs.  Are there any
>    programming tutorials which taper a new learner into this type of venture
>    in maybe EToys with some added Smalltalk code?

I just finished a class project in which I created a custom
morph, with etoys support (custom tile selectors), and connected
it to an external USB port via FFI and a vendor library. The
project was a Gauge Morph, to which a tile script was attached
that read a new temperature from the usb port on each morph
tick.

The code is at http://www.squeaksource.com/gauge.html .  I tried
to well-comment the complex parts (like how to add custom tile
selectors to custom morphs)

A demo project is at
http://www.public.asu.edu/~mtfulmer/GaugeProject.002.pr . You
will need to load the mcz package first

--
Matthew Fulmer -- http://mtfulmer.wordpress.com/
Help improve Squeak Documentation: http://wiki.squeak.org/squeak/808

_______________________________________________
Squeakland mailing list
[hidden email]
http://squeakland.org/mailman/listinfo/squeakland
Reply | Threaded
Open this post in threaded view
|

Re: Seeking Tutorials on Serial Port I/O in Squeak

Eric Eisaman
Good Day Mathew,
 
I am very encouraged by your help. I will be studying your code and perhaps get back to you with further questions.
 
Eric Eisaman

On Dec 3, 2007 3:12 PM, Matthew Fulmer <[hidden email]> wrote:
On Mon, Dec 03, 2007 at 06:09:46AM +1000, Eric Eisaman wrote:
>    Hello Squeakers,
>
>    For some time now I have been building capacity in myself and my students
>    to engage handcrafted peripherals in Squeak programs.  Are there any
>    programming tutorials which taper a new learner into this type of venture
>    in maybe EToys with some added Smalltalk code?

I just finished a class project in which I created a custom
morph, with etoys support (custom tile selectors), and connected
it to an external USB port via FFI and a vendor library. The
project was a Gauge Morph, to which a tile script was attached
that read a new temperature from the usb port on each morph
tick.

The code is at http://www.squeaksource.com/gauge.html .  I tried
to well-comment the complex parts (like how to add custom tile
selectors to custom morphs)

A demo project is at
http://www.public.asu.edu/~mtfulmer/GaugeProject.002.pr . You
will need to load the mcz package first

--
Matthew Fulmer -- http://mtfulmer.wordpress.com/
Help improve Squeak Documentation: http://wiki.squeak.org/squeak/808

_______________________________________________
Squeakland mailing list
[hidden email]
http://squeakland.org/mailman/listinfo/squeakland


_______________________________________________
Squeakland mailing list
[hidden email]
http://squeakland.org/mailman/listinfo/squeakland
Reply | Threaded
Open this post in threaded view
|

Re: Seeking Tutorials on Serial Port I/O in Squeak

Eric Eisaman
In reply to this post by Tapple Gao
Hello Mathew,
 
I'm having trouble viewing the project in the Squeak Plugin.  I was able to load, into my plugin image, all the .mcz files from your project page at the SqueakSource site with the exception of files "20" and "21".  I'm new to the use of these files. Is it possible for me to get a copy of the .pr file to run in 3.9 full image?
 
Thanks for the time.
 
Eric

On Dec 3, 2007 3:12 PM, Matthew Fulmer <[hidden email]> wrote:
On Mon, Dec 03, 2007 at 06:09:46AM +1000, Eric Eisaman wrote:
>    Hello Squeakers,
>
>    For some time now I have been building capacity in myself and my students
>    to engage handcrafted peripherals in Squeak programs.  Are there any
>    programming tutorials which taper a new learner into this type of venture
>    in maybe EToys with some added Smalltalk code?

I just finished a class project in which I created a custom
morph, with etoys support (custom tile selectors), and connected
it to an external USB port via FFI and a vendor library. The
project was a Gauge Morph, to which a tile script was attached
that read a new temperature from the usb port on each morph
tick.

The code is at http://www.squeaksource.com/gauge.html .  I tried
to well-comment the complex parts (like how to add custom tile
selectors to custom morphs)

A demo project is at
http://www.public.asu.edu/~mtfulmer/GaugeProject.002.pr . You
will need to load the mcz package first

--
Matthew Fulmer -- http://mtfulmer.wordpress.com/
Help improve Squeak Documentation: http://wiki.squeak.org/squeak/808

_______________________________________________
Squeakland mailing list
[hidden email]
http://squeakland.org/mailman/listinfo/squeakland


_______________________________________________
Squeakland mailing list
[hidden email]
http://squeakland.org/mailman/listinfo/squeakland