[Gambas-user] serial port.
nando
nando_f at ...951...
Mon Oct 19 17:23:24 CEST 2009
If you want to send a binary 37 to serial port Sport,
then you can do any of these:
1. Print #Sport, "%";
2. Print #Sport, Chr$(37);
3. S=Chr$(37)
Write #Sport, S, 1
You do not have to 'convert' to binary.
-Fernando
---------- Original Message -----------
From: abdurrahman ulusoy <ulusoyab at ...43...>
To: mailing list for gambas users <gambas-user at lists.sourceforge.net>
Sent: Sun, 18 Oct 2009 09:57:25 -0700 (PDT)
Subject: [Gambas-user] serial port.
> hi i want to send data to serial port. when i send a number (for exam: 37)
> , what is writing gambas to seri port (100101 or 37) ? if gambas write (37)
> how can i convert decimaltobinary. (are there any module or command ?
>
> ___________________________________________________________________
[UTF-8?]> Yahoo! Türkiye açıldı! http://yahoo.com.tr
[UTF-8?]> Ä°nternet üzerindeki en iyi içeriÄi Yahoo! Türkiye sizlere sunuyor!
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
------- End of Original Message -------
More information about the User
mailing list