@Paul S ... In our project, we are using the Teensy 3x as a smartphone interface. The 1Sheeld library compiles fine for any standard
Arduino (1.0) board but fails with the Teensy 3x. Any help is appreciated. (See attached library file)
Not to worry, there are only about seven "simple" errors!
Note: oneSheeld is the library name/folder and use any of the provided user examples.
Errors:
For those not familiar with the 1Sheeld ...
Its a hardware Arduino shield with Bluetooth and co-processor that uses Firmata to link the Arduino GPIO to an Android app on a smartphone or tablet.
Kickstarter link:
https://www.kickstarter.com/projects/integreight/1sheeld-replace-your-arduino-shields-with-your-sma
We are using the Teensy 3x in a project that adds shields (see below) using a smartphone or tablet.
Parts required:
Teensy 3* Development Board & Arduino Shield <----- Tindie
Teensy 3x (PJRC.com)
Level converter for tx/rx on 1Shieeld (Adafruit) <--- not needed - 1sheeld has a 3.3 v interface switch.
1Sheeld Arduino Hardware Shield - Arduino shields using smartphone/tablet (Seeedstudio.com)
Also needed is a smartphone or tablet with Bluetooth 2.1 and Android release Gingerbread.
http://www.1sheeld.com/docs <----- library download link
http://www.seeedstudio.com/depot/1Sheeld-Replace-your-Arduino-shields-with-smartphone-p-1870.html
---------------
Sensor Shields
---------------
accelerometersensor-library
gravitysensor-library
temperaturesensor-library
lightsensor-library
temperaturesensor-library
pressuresensor-library
proximitysensor-library
gps-library
gyroscopesensor-library
orientationsensor-library
magnetometersensor-library
-----------------
Basic I/O Shields
-----------------
buzzer-library
togglebutton-library
keyboard-library
led-library
slider-library
pushbutton-library
mic-library
sevensegment-library
gamepad-library
keypad-library
---------------------
Communication Shields
---------------------
phone-library
skype-library
sms-library
email-library
---------------
Special Shields
---------------
clock-library
lcd-library
notification-library
camera-library
musicplayer-library
--------------------
Social Media Shields
--------------------
foursquare-library
twitter-library
facebook-library
Arduino (1.0) board but fails with the Teensy 3x. Any help is appreciated. (See attached library file)
Not to worry, there are only about seven "simple" errors!
Note: oneSheeld is the library name/folder and use any of the provided user examples.
Errors:
C:\Users\Andy\Documents\Arduino\libraries\OneSheeld\OneSheeld.cpp: In member function 'void OneSheeldClass::sendPacket(uint8_t, uint8_t, uint8_t, uint8_t, ...)':
C:\Users\Andy\Documents\Arduino\libraries\OneSheeld\OneSheeld.cpp:81:3: error: 'va_list' was not declared in this scope
C:\Users\Andy\Documents\Arduino\libraries\OneSheeld\OneSheeld.cpp:81:11: error: expected ';' before 'arguments'
C:\Users\Andy\Documents\Arduino\libraries\OneSheeld\OneSheeld.cpp:82:28: error: 'va_start' was not declared in this scope
C:\Users\Andy\Documents\Arduino\libraries\OneSheeld\OneSheeld.cpp:94:56: error: expected primary-expression before '*' token
C:\Users\Andy\Documents\Arduino\libraries\OneSheeld\OneSheeld.cpp:94:57: error: expected primary-expression before ')' token
C:\Users\Andy\Documents\Arduino\libraries\OneSheeld\OneSheeld.cpp:94:57: error: 'va_arg' was not declared in this scope
C:\Users\Andy\Documents\Arduino\libraries\OneSheeld\OneSheeld.cpp:107:21: error: 'va_end' was not declared in this scope
For those not familiar with the 1Sheeld ...
Its a hardware Arduino shield with Bluetooth and co-processor that uses Firmata to link the Arduino GPIO to an Android app on a smartphone or tablet.
Kickstarter link:
https://www.kickstarter.com/projects/integreight/1sheeld-replace-your-arduino-shields-with-your-sma
We are using the Teensy 3x in a project that adds shields (see below) using a smartphone or tablet.
Parts required:
Teensy 3* Development Board & Arduino Shield <----- Tindie
Teensy 3x (PJRC.com)
Level converter for tx/rx on 1Shieeld (Adafruit) <--- not needed - 1sheeld has a 3.3 v interface switch.
1Sheeld Arduino Hardware Shield - Arduino shields using smartphone/tablet (Seeedstudio.com)
Also needed is a smartphone or tablet with Bluetooth 2.1 and Android release Gingerbread.
http://www.1sheeld.com/docs <----- library download link
http://www.seeedstudio.com/depot/1Sheeld-Replace-your-Arduino-shields-with-smartphone-p-1870.html
---------------
Sensor Shields
---------------
accelerometersensor-library
gravitysensor-library
temperaturesensor-library
lightsensor-library
temperaturesensor-library
pressuresensor-library
proximitysensor-library
gps-library
gyroscopesensor-library
orientationsensor-library
magnetometersensor-library
-----------------
Basic I/O Shields
-----------------
buzzer-library
togglebutton-library
keyboard-library
led-library
slider-library
pushbutton-library
mic-library
sevensegment-library
gamepad-library
keypad-library
---------------------
Communication Shields
---------------------
phone-library
skype-library
sms-library
email-library
---------------
Special Shields
---------------
clock-library
lcd-library
notification-library
camera-library
musicplayer-library
--------------------
Social Media Shields
--------------------
foursquare-library
twitter-library
facebook-library
Attachments
Last edited: