Search Results

by ptalbot
Thu Jan 21, 2021 2:33 pm
Forum: General
Topic: PhidgetSpatial function not declared for Arduino
Replies: 3
Views: 6556

Re: PhidgetSpatial function not declared for Arduino

Does the library can be compiled for the Arduino? Or do you have any plan to support the Arduino?

PhidgetSpatial would have been convenient to use since the Teensy 4.1 has a USB port.
by ptalbot
Wed Jan 20, 2021 6:03 pm
Forum: General
Topic: PhidgetSpatial function not declared for Arduino
Replies: 3
Views: 6556

PhidgetSpatial function not declared for Arduino

I have a Teensy4.1 board, which is an Arduino. On windows, I use the tool Arduino 1.8.13 to compile the C code. I've loaded the library phidget21 and I have included the library. The code is: #include <phidget21.h> void setup() { ... CPhidgetSpatialHandle spatial = 0; CPhidgetSpatial_create(&spa...