lundi 30 mai 2016

another UsbSerial - baudrate question

hello,
I'm using usbserial with an FTDI device , I can send and receive data , but only at baudrate of 9600 .
Now I noticed that the baudrate parameter in usb.Open is ignored if the connected device is an accessory .

Code:
  Dim usb As UsbSerial
Dim dev As Int
dev = usb.Open(
19200)
in my code dev = 2 ( usb_accessory)

How come you can't change the baudrate of an accessory ? And why is my ftdi device recognized as an accessory and not as an usb_device, can I change this ?

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/1WUzib2
via IFTTT

Aucun commentaire:

Enregistrer un commentaire