Giter Site home page Giter Site logo

arduinofirmata-android's People

Contributors

shokai avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

arduinofirmata-android's Issues

set License

usb-serial-for-andoirdがLGPL
どうすればいいのか?

Arduino Micro support

usb-serial-for-androidがデバイスに対応していない

起動してすぐ落ちる

vendor-id

普通のArduinoと同じだった

servoWrite(pin, angle)

add function servoWrite(pin, analog);

ArduinoFirmata arduino = new ArduinoFirmata();
arduino.servoWrite(11, 85);

fix sample app

  • analog read 0-5
  • digital write 0-13
  • analog write 0-13
  • finish application when disconnect

auto servo motor sample

しばらく操作していなかったら、サンプルのサーボモータをランダムに動かす

Error when the app is opened

Since i am new to android, i am not familiar with much errors. But i got the below error when i tried to open my app.

I included the usbserial_for_ android library in android as below:

File -> New -> Import Module -> (path of) usb-serial-for-android

With usb-serial-android-examples unchecked i imported the library.

Project Structure -> modules -> app -> dependencies -> (added) usb-serial-android

screenshot 10

My main activity looks like.

screenshot 9

                                                              <java.lang.NoSuchMethodError: No static method acquire(Landroid/hardware/usb/UsbManager;)Lcom/hoho/android/usbserial/driver/UsbSerialDriver; in class Lcom/hoho/android/usbserial/driver/UsbSerialProber; or its super classes (declaration of 'com.hoho.android.usbserial.driver.UsbSerialProber' appears in /data/app/com.arsenal.rbot-1/split_lib_slice_8_apk.apk)
                                                                  at org.shokai.firmata.ArduinoFirmata.<init>(ArduinoFirmata.java:67)
                                                                  at com.arsenal.rbot.MainActivity.onCreate(MainActivity.java:48)>

Hope for better solution. Thank you for providing this library.
Nice WORK!!!

write byte Array

今1byte毎に書き込んでるので、byte配列まとめてバルク転送して高速化したい

public void write(int data)
public void write(byte[] data)

Bluetooth support

Hi,

first of all, thanks for providing such a nice library.
I am wondering if you plan to add Bluetooth support.

Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.