Read this:
https://github.com/ytai/ioio/wiki/Building-IOIO-Applications-With-Gradle
On Dec 22, 2015 6:20 PM, "Francesco" <[email protected]> wrote:

> Hi Ytai,
>
> I am trying to rebuilt an application that uses a IOIO-OTG with a
> bluetooth dongle to send the temperature readings captured by a MAX31855 (a
> SPI-interfaced Thermocouple to Digital Converter with Cold Junction
> Compensation by MAXIM IC) to an Android smartphone.
>
> Here is a small code snippet of my application:
>
> ...
> import ioio.lib.api.IOIO;
> import ioio.lib.api.SpiMaster;
> import ioio.lib.api.exception.ConnectionLostException;
> import ioio.lib.util.IOIOLooper;
> import ioio.lib.util.android.IOIOActivity;
>
> public class MainActivity extends IOIOActivity {
>
>     protected static final float FAULT_DISPLAY_DURATION = 3; // duration
> of faults message [s]
>
>     int sdoPin = 35; // DO
>     int sdaPin = 36; // MAX31855 doesn't have a data input pin, but the
> IOIOLib requires we specify it, so we pick an unused pin
>     int sclPin = 37; // CLK
>     int csPin  = 4; // CS
> ...
>
> This application builds correctly in Eclipse Luna until software v5.04;
> however if I try to build it using IOIO software v5.05 Eclipse reports the
> error "IOIOActivity cannot be resolved to a type".
>
> Can I ask you if this is a known behaviour? Has the class IOIOActivity
> been deprecated (I cannot find a IOIOActivity.java in project
> IOIOLibAndroid)?
>
> Is there any chance to upgrade my project to software v5.05?
>
> Thank you in advance for your answer.
>
> Francesco - Italy
>
> --
> You received this message because you are subscribed to the Google Groups
> "ioio-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/ioio-users.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"ioio-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/ioio-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to