This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Main.as | |
| function init() : void | |
| { | |
| // Set the Workers Manager the swf bytes | |
| Workr.bytesMain = loaderInfo.bytes; | |
| // initiate the singleton | |
| workr = Workr.getInstance(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package cacilds | |
| { | |
| import cacilds.workers.WorkerEnterFrame; | |
| import flash.display.Sprite; | |
| import flash.events.Event; | |
| import flash.system.MessageChannel; | |
| import flash.system.Worker; | |
| import flash.system.WorkerDomain; | |
| /** |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <Servo.h> | |
| Servo servo; | |
| int btnPin = 2; | |
| int lightPins[] = {3, 5, 6}; | |
| int serPin = 11; | |
| int pos = 0; | |
| void setup() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| silvio paganini | s2paganini.com | |
| @silviopaganini | |
| **/ | |
| const int pins[] = {11, 10, 9, 6, 5, 3}; | |
| int SIZE = 6; | |
| void setup() | |
| { |
NewerOlder