It may happen that, one day, for a given application, you must do without our high level programming libraries. For example because you must drive the modules in a language we do not support (yet), or because you don't want to bother about object programming. It's quite possible, and here are the keys to success.
4 comments | Read more... |
A while ago, we created a weather station in PHP based on a Yocto-Humidity module. Today, we have a new version in C# which improves the concept by exploiting the data logger integrated into the Yocto-Meteo, a module which is an improved version of the product used for the previous article.
No comment yet | Read more... |
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... |