Smalltalk
Doing some basic tasks with Squeak Smalltalk virtual machine on BeagleBone
Updated instructions for running Squeak on BeagleBone Black Debian images:
Code for demo: graph1 := GraphMorph new. graph1 openInWorld. graph1 extent: 700@500. graph1 clear. analog1 := FileStream readOnlyFileNamed: '/sys/devices/ocp.3/helper.15/AIN0'. [1000 timesRepeat: [ | lightValue | lightValue := (analog1 contents) asInteger. graph1 appendValue: lightValue. (Delay forMilliseconds: 20) wait. ]] fork. Homepage: http://wiki.squeak.org/squeak/3616 Registrar: jkridner.wordpress.com |
Tags: library;bbblack;bbone;
Projected created on: Thu May 01 2014 23:24:09 GMT-0000 (UTC)
Submitted by: jkridner.wordpress.com
Last updated on: Thu May 01 2014 23:25:00 GMT-0000 (UTC)