creativearmenia / as3-arduino-connector Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/as3-arduino-connector
Automatically exported from code.google.com/p/as3-arduino-connector
Code does not compile on MacOSX.
Original issue reported on code.google.com by [email protected]
on 18 Nov 2011 at 9:44
Timing is off. Should not rely on sleep() function in the thread to create
events and poll data.
Original issue reported on code.google.com by [email protected]
on 18 Nov 2011 at 9:43
What steps will reproduce the problem?
1. create an application that instantiates the ArduinoConnector
ExtensionContext.
2. export as a release build.
3. run the exported release build.
4. move the mouse, click the mouse, or press a key, and the application crashes.
What is the expected output? What do you see instead?
The application should proceed normally.
What version of the product are you using? On what operating system?
1.0.0, OSX 10.6.8
Please provide any additional information below.
I've isolated the problem to the following line:
ExtensionContext.createExtensionContext("com.quetwo.Arduino.ArduinoConnector",
null);
without creating the ExtensionContext, mouse and keyboard inputs function
normally.
Original issue reported on code.google.com by [email protected]
on 24 Feb 2012 at 9:55
运行1小时左右,出现了软件崩溃,出现下面的错误.
0x6B7C1623 (libSerialANE.dll) (adl.exe 中)处有未经处理的异常:
0xC0000005: 读取位置 0x77B460C0 时发生访问冲突。
Original issue reported on code.google.com by [email protected]
on 2 Mar 2014 at 8:33
What steps will reproduce the problem?
1. Attempt to open an invalid com port
2. Call dispose()
3. Close the application
4. Application shows crash dialog
What is the expected output? What do you see instead?
Expect the ANE context to be disposed regardless of the connected state
What version of the product are you using? On what operating system?
1.0.0
Please provide any additional information below.
Remove the return from ArduinoConnector.dispose() so that the context can be
cleaned up.
Original issue reported on code.google.com by [email protected]
on 8 Feb 2012 at 10:21
when handling a socketData event and invoking: readBytesAsByteArray() the Adobe
Debug Launcher crashes, taking the debug process down.
readBytesAsArray() works fine as well as readByte().
I suspect a while loop waiting for bytesAvailable() to go to 0 locked up at one
point, so I didnt want to use that while loop anymore.
windows 7 x64 (had to find pthreadgc2.dll manually as well)
I had to sign the ANE file to use it in the Flash Builder pre-release
Flash Builder 4.6 pre release
Air 3.1
Original issue reported on code.google.com by [email protected]
on 25 Nov 2011 at 12:41
What steps will reproduce the problem?
1.
2.
3.
[SWF] com.quetwo.Arduino.ArduinoConnector - 7,123 bytes after decompression
[SWF] arduinoTest.swf - 3,535,367 bytes after decompression
[ArduinoConnector] Initalizing ANE...
[ArduinoConnector] Opening COM port handle number 7 success = true
Error: Error #3503: The extension was left in an invalid state.
at flash.external::ExtensionContext/_call()
at flash.external::ExtensionContext/call()
at com.quetwo.Arduino::ArduinoConnector/readBytesAsByteArray()[E:\Apache\dev\SerialANE\src\com\quetwo\Arduino\ArduinoConnector.as:190]
at arduinoTest/onSocketData()[D:\ULAS\FreeLance\arduinoTest\src\arduinoTest.mxml:32]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at com.quetwo.Arduino::ArduinoConnector/gotEvent()[E:\Apache\dev\SerialANE\src\com\quetwo\Arduino\ArduinoConnector.as:350]
What version of the product are you using? On what operating system?
Windows 8 x64 Flash Builder 4.6
Source
.
.
protected function
windowedapplication1_creationCompleteHandler(event:FlexEvent):void
{
arduino = new ArduinoConnector();
arduino.addEventListener("socketData",onSocketData);
arduino.connect("COM7",9600);
txtOutput.appendText("Connecting")
}
protected function onSocketData(event:ArduinoConnectorEvent):void
{
var ba:ByteArray;
arduino.removeEventListener("socketData",onSocketData);
ba = arduino.readBytesAsByteArray();
}
Original issue reported on code.google.com by [email protected]
on 4 Jul 2013 at 1:51
After I create and run a simple test app I get the following error:
"The program can't start because pthreadGC2.dll is missing from your
computer..."
Original issue reported on code.google.com by [email protected]
on 22 Nov 2011 at 10:12
Hi Nicholas, congratulations for this, would like to help testing, if I may...
see below.
What steps will reproduce the problem?
//Simples code to testing.
<fx:Script>
<![CDATA[
import com.quetwo.Arduino.ArduinoConnector;
public var arduino:ArduinoConnector;
protected function init():void{
trace("#init.");
arduino = new ArduinoConnector();
}
protected function bOpen_clickHandler(event:MouseEvent):void
{
trace("#Port is open? "+ arduino.portOpen);
}
protected function bConn_clickHandler(event:MouseEvent):void
{
arduino.connect("COM13");
}
protected function bClose_clickHandler(event:MouseEvent):void
{
arduino.dispose();
}
]]>
</fx:Script>
<mx:Button id="bOpen" x="10" y="10" label="OPEN"
click="bOpen_clickHandler(event)"/>
<mx:Button id="bConn" x="77" y="10" label="CONN"
click="bConn_clickHandler(event)"/>
<mx:Button id="bClose" x="143" y="10" label="CLOSE"
click="bClose_clickHandler(event)"/>
What is the expected output? What do you see instead?
1. I set COM13, the system return COM12, that not exist.
2. The COM port remains open, even after dispose.
3. The AIR crashes after dispose and closing the program.
Perhaps, because port is already open.
What version of the product are you using? On what operating system?
Adobe Flash Builder 4.6 (build 328916) "Official licensed".
Adobe AIR 3.1.0.4880
Windows 7 Ultimate 64 bits "DELL Official licensed".
PS: I had to copy the DLLs to the folder SysWOW64, I saw the last issue.
Please provide any additional information below.
Below, my console:
[SWF] com.quetwo.Arduino.ArduinoConnector - 6,684 bytes after decompression
[SWF] FX232.swf - 2,030,059 bytes after decompression
#init.
[ArduinoConnector] Initalizing ANE...
#Port is open? false
[ArduinoConnector] Opening COM port 12 success = true
#Port is open? true
[ArduinoConnector] Unloading ANE...
#Port is open? true
[ArduinoConnector] Unloading ANE...
#Port is open? true
Error: Error #3501: The extension context has already been disposed.
at flash.external::ExtensionContext/_call()
at flash.external::ExtensionContext/call()
at com.quetwo.Arduino::ArduinoConnector/connect()[C:\Users\Nicholas Kwiatkowski\Adobe Flash Builder 4.6\SerialANELib\src\com\quetwo\Arduino\ArduinoConnector.as:70]
at test232/bConn_clickHandler()[C:\Projetos\Fx\FX232\src\test232.mxml:26]
at test232/__bConn_click()[C:\Projetos\Fx\FX232\src\test232.mxml:38]
The AIR crash error.
Problem Event Name: BEX
Application Name: adl.exe
Application Version: 3.1.0.4880
Application Timestamp: 4eb7612e
Fault Module Name: libSerialANE.dll_unloaded
Fault Module Version: 0.0.0.0
Fault Module Timestamp: 4ecfdafd
Exception Offset: 6b7c1b04
Exception Code: c0000005
Exception Data: 00000008
OS Version: 6.1.7601.2.1.0.256.1
Locale ID: 1046
Additional Information 1: 0a9e
Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
Additional Information 3: 0a9e
Additional Information 4: 0a9e372d3b4ad19135b953a78882e789
If I can help with anything else, call me.
Best regards.
Marco
Original issue reported on code.google.com by [email protected]
on 9 Dec 2011 at 1:54
if i want send a string"CC DD A0 00 00 00 0D AD 5A" from com port as hax. how
to do?(Apologize for my Chinglish)
Original issue reported on code.google.com by [email protected]
on 20 Nov 2012 at 2:03
Hi, I can't seem to detect events using your edited as3glue package with your
arduino-connector extension, but I can make the light blink on the arduino.
Tips would be appreciated :)
What steps will reproduce the problem?
1.use your customized as3glue package.
2. interface with it with the attached AS file
What is the expected output? What do you see instead?
-eventlisteners pick nothing up, BUT, I can make the lamp blink.
What version of the product are you using? On what operating system?
latest
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 26 Mar 2012 at 6:34
Attachments:
What steps will reproduce the problem?
1. Add ArduinoConnector.ane to the project and link it.
2. Create new ArduinoConnector.
3. Use of the function isSupported and connect will result in application crash.
use of isSupported results in: The extension context does not have a method
with the name isSupported
use of connect results in: The extension context does not have a method with
the name setupPort
What version of the product are you using? On what operating system?
Arduino uno, mac osx 10.8.2
Is there anything I did not implement or initialize which I should have done.
Or is the .ane file corrupt for mac use?
Hoppefully this can help you with the product.
Kind regards,
Johan
Original issue reported on code.google.com by [email protected]
on 12 Mar 2013 at 4:59
What steps will reproduce the problem?
1. Trying to simply do a test compile targeting AIR for desktop
2.
3.
What is the expected output? What do you see instead?
ArgumentError: Error #3500: The extension context does not have a method with
the name setupPort.
at flash.external::ExtensionContext/_call()
at flash.external::ExtensionContext/call()
at com.quetwo.Arduino::ArduinoConnector/connect()[E:\Apache\dev\SerialANE\src\com\quetwo\Arduino\ArduinoConnector.as:102]
What version of the product are you using? On what operating system?
Same error on BOTH Mac OS 10.9 and Windows 8 compiling using Flash CS6 IDE
Please provide any additional information below.
A similar error is supposed to affect only Mac compilations, but this affects
BOTH mac and Windows
Original issue reported on code.google.com by [email protected]
on 29 Jan 2014 at 3:30
native-extension/Windows-x86/SerialANE.c
line #153,
there is: FREReleaseByteArray( &incomingBytes);
should be: FREReleaseByteArray( argv[0]);
Original issue reported on code.google.com by [email protected]
on 12 Aug 2012 at 8:01
Great Project! Absolutely love it.
I'm trying to create AS3 driver for an ISO 15693 RFID reader running on a
virtual COM port. I have created a small app that works on windows (with small
minor issue that I'm trying to fix, which i won't discuss in this issue).
I need to get this app to work in OSX but the issue is:
The serial device is named: "/dev/tty.SLAB_USBtoUART"
and getComPorts() uses
if (i.nativePath.search("/dev/tty.usb") > -1)
I would assume it would work if it were
if (i.nativePath.search("/dev/tty.") > -1)
how would i modify that ?
Original issue reported on code.google.com by [email protected]
on 2 Jan 2012 at 11:05
What steps will reproduce the problem?
1. Make a new AS3 Flash Pro file and instantiate a new ArduinoConnector
2. Call the connect method with 230400 in the baud parameter:
arduino.connect("COM3",230400);
3. Output window reports that "success = false". arduino.portOpen is false as
well
What is the expected output? What do you see instead?
I expected to be able to connect at 230400 baud. After looking through the
source code I was able to determine that this particular baudrate was available
on Mac and Linux but not on Windows (although 256000 is available and does
report as successfully open).
What version of the product are you using? On what operating system?
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 13 Nov 2012 at 3:14
What steps will reproduce the problem?
1. Create two ArduinoConnector instances in one AIR application
2. Connect to both devices on different COM Ports
3. Get Data just from one
What is the expected output? What do you see instead?
Expected output would be serial data from both input devices, instead I just
get data from one inside my Air application.
What version of the product are you using? On what operating system?
Arduino Connector 1.2.0 with Flash Professional CS6 on Win 7 64bit
Please provide any additional information below.
I made a short code sample what I'd like to achieve, is this possible with
ArduinoConnector? And if so, what should I change to get it working?
//
package {
import flash.display.MovieClip;
import com.quetwo.Arduino.ArduinoConnector;
import com.quetwo.Arduino.ArduinoConnectorEvent;
public class Main extends MovieClip {
public var scannerConnector: ArduinoConnector = new ArduinoConnector();
public var arduinoConnector: ArduinoConnector = new ArduinoConnector();
public function Main() {
fnc_setupScannerConnector();
}
// function to setup the scannerConnector
public function fnc_setupScannerConnector(): void{
trace("Hi from setupScannerConnector");
scannerConnector.connect("COM13", 57600);
scannerConnector.addEventListener("socketData", fnc_recievingData);
arduinoConnector.connect("COM10", 57600);
arduinoConnector.addEventListener("socketData", fnc_dataArduino)
}
private function fnc_dataArduino(aEvt: ArduinoConnectorEvent): void{
trace("From Arduino: " + arduinoConnector.readBytesAsString());
}
// function that gets called after data has been sent over the socketStream
private function fnc_recievingData(aEvt: ArduinoConnectorEvent): void{
// read out the data and put it into a temporary String
var tempArray: Array = scannerConnector.readBytesAsArray();
// extract the URL values from inside the bytesArray
var i: int;
for(i = 0; i < tempArray.length; i++){
// look for starting character
if(tempArray[i] == "#"){
var urlString: String;
// write the array entries into a string
for(i = i+1; i < tempArray.length; i++){
urlString = urlString + tempArray[i];
}
// remove the null character
urlString = urlString.slice(4, urlString.length);
trace("Extracted URL: " + urlString);
break;
}
}
}
}
}
// Thanks for your time and this awesome ANE
Original issue reported on code.google.com by [email protected]
on 31 Jan 2013 at 3:44
What steps will reproduce the problem?
1. My arduino is currently running on com19
What is the expected output? What do you see instead?
I need to be able to connect to ports greater than 16, the native code is hard
coded to connect to ports from 1 to 16.
What version of the product are you using? On what operating system?
Using 1.0.0 on Windows Vista 32bit
Original issue reported on code.google.com by [email protected]
on 2 Feb 2012 at 9:02
What steps will reproduce the problem?
1.Connect a usb bluetooth dongle (I'm using Blue Radios 4.0 Low Energy) to my
Windows 7 Laptop. Putty is able to see the bluetooth data just fine from the
arduino (using COM4, baud 115200)
2. Install ths as3-arduino-connector ANE in Flash CS6 (and the dll of course).
3. The socketData event gets triggered only one time in Flash, and strangely,
only after PUTTY was running. If I publish the flash app again, no data. Need
to reopen PUTTY, see the data there, close PUTTY, then run the flash app again,
and then get only one data event again.
What is the expected output? What do you see instead?
Expected to see continuous data events in Flash, not just the first one.
What version of the product are you using? On what operating system?
Windows 7, latest as3-arduino-connector on Flash CS6
Please provide any additional information below.
I got a usb bluetooth dongle (Blue Radios 4.0 Low Energy). When I use Putty, I
am able to see the arduino data just fine via bluetooth (the usb dongle directs
this data to the serial connection on com4 on my windows 7 laptop). But I
cannot read this into Flash. I can connect in Flash, but the socketData
handler only triggers once (and strangely, only after I had PUTTY running, must
rerun PUTTY each time, and then run Flash to get just one data trigger). From
Putty, I do need to send the bluetooth dongle the commands "at", and then
"atdmle,ecfe7e101354" which is to connect to my bluetooth device on the
arduino. After that, the data comes through fine on Putty. So I thought I need
to use the Ardunio send command from Flash to send these initial commands.
Tried that but also doesn't work. I've tried using TinkerProxy, same exact
issue (and I tried using the update of Tinkerproxy with a fix for bluetooth,
doesn't work). Any ideas much appreciated. Thanks!
Original issue reported on code.google.com by [email protected]
on 28 Mar 2013 at 12:34
What steps will reproduce the problem?
1.Create new Arduino Connector Object
2.connect to bad port
What is the expected output? What do you see instead?
Don't know if it's a probolem or just Your solution but on windows when a
connection function failes sometimes there isues with connecting again.
What version of the product are you using? On what operating system?
Windows 7 64 / as3-ArduinoConnector-1-0-0.zip
Please provide any additional information below.
There is a solution to dispose it and create a new instance of ArduinoConnector
Original issue reported on code.google.com by [email protected]
on 22 Feb 2012 at 4:20
What steps will reproduce the problem?
1. add ANE to lib path
2. setup a new ArduinoConnector()
3. compile and get error
What is the expected output? What do you see instead?
Loading the DLL correctly
What version of the product are you using? On what operating system?
Windows7 x64
Air 3.9
FlashDevelop 4.5.2.5
Please provide any additional information below.
I've copied the libSerialANE.dll and pthreadGC2.dll from the ANE to both Paths:
C:\Windows\System32
C:\Windows\SysWOW64
I then used the pthreadGC2.dll from the seperate ZIP-Package of the Repository.
Same Error.
I already gebooted the system serveral times, used a localy installed
FlashDevelop and a portable FlashDevelop.
Is there something I'm missing? Is FlashDevelop not supported? Do I have to
install those DLLs somewhere or is a plain copy paste enough?
Console-Log:
----------------------------------------
Done(0)
[Starting debug session with FDB]
[ArduinoConnector] Initalizing ANE...
[ArduinoConnector] Unable to load the .DLL! Make sure libSerialANE.DLL and
PthreadGC2.dll are available.
[ArduinoConnector] ANE Not loaded properly. Future calls will fail.
[Fault] exception, information=TypeError: Error #1009: Cannot access a property
or method of a null object reference.
Hope for help.
Indyaner
Original issue reported on code.google.com by [email protected]
on 24 Jun 2014 at 4:10
What steps will reproduce the problem?
1.Debugging the app with the code arduino.connect("COM3",9600);
What is the expected output? What do you see instead?
It is the port where my arduino is connected but I get error on air:
The extension context does not have a method with the name setupPort.
What version of the product are you using? On what operating system?
0.99
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 5 Dec 2011 at 8:04
I made a simple test application, and Arduino Uno(and Diciemila) works ok, but
Arduino Leonardo cannot work
Windows 7(32bit), Flash CS6
// arduino code
void setup() {
Serial.begin(9600);
}
void loop() {
Serial.write("hello");
delay(1000);
}
Original issue reported on code.google.com by [email protected]
on 17 Jun 2013 at 9:20
I'm using FlashDevelop to build air app.
Previous version (1.2) was working fine, but 1.5
it keep says libgcc_s_dw2-1.dll is missing.
Any clue?
Original issue reported on code.google.com by [email protected]
on 31 Jul 2013 at 4:29
What steps will reproduce the problem?
1. myArduino = new Arduino(port1, 57600);
What is the expected output? What do you see instead?
I successfully connect to an 'arduino' at port1 but there is no arduino at port
1.
What version of the product are you using? On what operating system?
Latest as of today 24.9.12
Please provide any additional information below.
Hi, I'm creating some code to iterate over the available ports if the user does
not provide a com port for the arduino. Not sure why but my computer thinks
COM1 is an Arduino (in actual fact, it's at COM9). I would love there to be a
test one could use to determine if indeed it is an arduino at that port.
myArduino.readByte() crashes the Flashbuilder when I try it with com1. I don't
think the other available methods can let me know if there is an arduino there
either. getFirmwareVersion() is not working for my Arduino at com9 - I think
this is because I'm using a clone I bought of ebay (I thus cannot use this as a
test of 'there is an arduino there'). Thanks :)
Andy.
Awesome ANE of your btw :) I must learn how to make these!
Original issue reported on code.google.com by [email protected]
on 24 Sep 2012 at 10:30
I have made an air for desktop app on win 7 which communicates to an atmega 8
based system.
When I first connect to the system it works absolutely fine but if I lose
connection for example the system goes off or to simulate I sometimes
disconnect and reconnect the USB from my laptop. Sometimes it will reconnect
but most of the time it will crash my application like it went into a infinite
while loop.
I will attach a simple version of my code here. The corresponding atmega system
for this is setup to echo the letter "H" when I send it from the app by
clicking button b1. Button b1 is used to reconnect and textfield t1 displayed
the received string.
This is what I do to recreate the problem.
1. First open the app and while connected to a system that will echo u.
2. Press b1 to connect.
3. Press b2 to send H and see the reply displayed in the textfield t1
4. Now disconnect the USB cable from the computer and reconnect it.
5. Try to send H again by pressing b2 to check if the connection is still open.
Usually here you will not receive anything.
6. Try to reconnect by pressing b1. Here the application usually crashes for
me. if it reconnects repeat steps 4,5 and 6. It connects around 2 out of 5
times the other times the app crashes.
Thank you for your help
Regards,
Gautham
Original issue reported on code.google.com by [email protected]
on 28 May 2013 at 12:38
Attachments:
Incorrect bytes are send when using _arduinoConnector.writeBytes and they seems
to be random each time I run the application
What steps will reproduce the problem?
Use _arduinoConnector.writeBytes and pass byteArray ec.
var b:ByteArray = new ByteArray();
b.writeInt(1);
_arduinoConnector.writeBytes(b);
What is the expected output? What do you see instead?
Correct byte should be send to com port
What version of the product are you using? On what operating system?
1.5
Please provide any additional information below.
1. I am using Advanced Serial Data Logger to check what bytes where send to com
port.
2. Obly bypass I found is to send bytes one by one using writeByte
Original issue reported on code.google.com by [email protected]
on 1 Oct 2013 at 9:44
What steps will reproduce the problem?
1. Windows 7 64 bit
2. Flash Builder 4.6
3. Run the basic connection code and turn device off/on.
What is the expected output? What do you see instead?
Thank you for your time. I'm connecting to a Bluetooth GPS antenna and the data stream is receiving well, but I'd like to be able to reestablish receiving the data stream even if the GPS unit is switched on and off. I've been searching for something which might help with this and I was hopeful for ideas.
What version of the product are you using? On what operating system?
I've downloaded version 1.2 and I recently downloaded and placed the
libSerialANE.dll into the Windows folder.
Please provide any additional information below.
Thank you again, hopefully this is something simple I've overlooked.
Original issue reported on code.google.com by [email protected]
on 30 Nov 2012 at 6:11
To use ArduinoConnectorEvent.SOCKET_DATA as event's type rather than
"socketData",I add "static" to support this feature.
Original issue reported on code.google.com by [email protected]
on 6 Nov 2013 at 6:14
Attachments:
What steps will reproduce the problem?
1. Windows 7 home premium
2. Connect to serial source
3. Poll device with data in an interval base
4. After some time it dies.
Same code works in mac osx without any issue
What is the expected output? What do you see instead?
AS3 calls INVENTORY function every second.
UART always reply to message.
trace output:
INVENTORY -> sends:05000100ae74
OK:04000e2cb3
INVENTORY -> sends:05000100ae74
OK:04000e2cb3
INVENTORY -> sends:05000100ae74
OK:04000e2cb3
INVENTORY -> sends:05000100ae74
INVENTORY -> sends:05000100ae74
INVENTORY -> sends:05000100ae74
INVENTORY -> sends:05000100ae74
INVENTORY -> sends:05000100ae74
What version of the product are you using? On what operating system?
version 1.0.0
Windows 7 home premium on both virtual and native shows the same issue
Please provide any additional information below.
Code:
RFID = new ArduinoConnector();
RFID.addEventListener(Event.ACTIVATE, onConnected);
RFID.addEventListener("socketData", onRFIDData);
RFID.connect("COM3",19200);
function onConnected(event:Event):void{
var x:Timer = new Timer(1000,1);
x.addEventListener(TimerEvent.TIMER_COMPLETE, function():void{
inventory();
});
x.start();
}
function onRFIDData(event:ArduinoConnectorEvent):void{
var str:String = "";
var data:Array = RFID.readBytesAsArray();
for(var i:Number = 0 ; i < data.length ; i++)
data[i] = data[i].charCodeAt(0);
trace(data);
}
Original issue reported on code.google.com by [email protected]
on 15 Jan 2012 at 8:47
What steps will reproduce the problem?
1. Use Flash Pro CS6 and run the example below
2.
3.
What is the expected output? What do you see instead?
Was expecting to see data events. This ran fine previously (about two months
ago with version 1.2). Are the com.quetwo.Arduino class files down by chance?
Thanks.
What version of the product are you using? On what operating system?
Windows 7, Flash CS6 PRO
Please provide any additional information below.
import flash.events.DataEvent;
import flash.display.MovieClip;
import com.quetwo.Arduino.ArduinoConnector;
import com.quetwo.Arduino.ArduinoConnectorEvent;
public class StartConnection extends MovieClip {
public var arduino:ArduinoConnector;
public function StartConnection(main:Main) {
arduino = new ArduinoConnector();
arduino.connect("COM4",115200);
arduino.addEventListener("socketData", fnc_dataArduino);
}
private function fnc_dataArduino(aEvt: ArduinoConnectorEvent): void{
trace("From Arduino: " + arduino.readBytesAsString());
}
}
Original issue reported on code.google.com by [email protected]
on 29 Jun 2013 at 1:17
NOW
public const SOCKET_DATA:String = "socketData";
public const PROGRESS:String = "progress";
SHOULD BE
public static const SOCKET_DATA:String = "socketData";
public static const PROGRESS:String = "progress";
Original issue reported on code.google.com by [email protected]
on 1 Oct 2013 at 10:02
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.