[Gambas-user] serial port.

abdurrahman ulusoy ulusoyab at ...43...
Mon Oct 19 19:06:37 CEST 2009


Thanks.

--- 19/10/09 Pzt tarihinde nando <nando_f at ...951...> şöyle yazıyor:

Kimden: nando <nando_f at ...951...>
Konu: Re: [Gambas-user] serial port.
Kime: "mailing list for gambas users" <gambas-user at lists.sourceforge.net>
Tarihi: 19 Ekim 2009 Pazartesi, 18:23

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 -------

------------------------------------------------------------------------------
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



      ___________________________________________________________________
Yahoo! Türkiye açıldı!  http://yahoo.com.tr
İnternet üzerindeki en iyi içeriği Yahoo! Türkiye sizlere sunuyor!


More information about the User mailing list