The Yoctopuce API provides almost identical functions to drive devices for all supported programming languages, regardless of the huge environment difference between them (take C++ and JavaScript, for example). But are all languages equally good ? Do they all provide the same perfs ? Let's look at this in detail, and expect some surprises...
No comment yet | Read more... |
Most examples that we provided so far to interact with Yoctopuce USB sensors use sequential function calls. This is called the procedural approach, using polling. We recommend this technique as a starting point, because it is generally more intuitive and less risky. There is, however, an alternative approach, sometimes more convenient: the event-based technique, using callbacks. This is the new API feature that we present today.
No comment yet | Read more... |
We have pre-announced the Objective-C library a few weeks ago, it is now available on the programming libraries download page. From now on, you can create Mac OS X Cocoa applications that will natively communicate with Yoctopuce modules (directly using USB, or via TCP).
No comment yet | Read more... |
Let's be honest, last week post about USB Christmas tree was a bit lame. It was fun to blink all these color leds, but that was a lot of Yocto-Color devices to connect for a result very similar to a $10 ornament you would buy from the nearest hardware store. So we decided to improve the concept.
No comment yet | Read more... |
This week, we will present something that will be published shortly: the high-level API for Objective-C. The most insightful readers may have already picked up some hints about it. For now, this is only a Mac OS X version, but IOS support will follow after, don't worry.
No comment yet | Read more... |