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... |
People often ask how we manage to drive our USB devices using programming languages such as Javascript. Just for once, let's go for some slideware.
We provide three kinds of libraries to drive our USB devices: native libraries, dynamic libraries, and libraries requiring a virtual hub. All are available with source code.
No comment yet | Read more... |