Blog

Reading USB sensors using callbacks

By Sébastien Rinsoz, in Programming, february 14,2012.

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 yetRead more...

New Objective-C library for Mac OS X

By Sébastien Rinsoz, in Programming, january 08,2012.


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 yetRead more...

A Christmas tree driven by Winamp

By martinm, in Programming, december 22,2011.

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 yetRead more...

Driving RGB leds using Objective-C

By Sébastien Rinsoz, in Programming, december 18,2011.

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 yetRead more...

Yoctopuce libraries

By martinm, in Programming, september 30,2011.

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 yetRead more...

1 ... 10 ... 20 ... 25 26 27 28 29 30 31

Yoctopuce, get your stuff connected.