Blog

Saving module configuration with the command line

By seb, in Programming, june 23,2023.

Once you've had a taste of Yoctopuce modules, it's not uncommon to find systems consisting of a dozen or so modules. When all these modules are installed and configured correctly, it's a good idea to save their configuration, in case you make a mistake. We've just added two commands to our command line library that simplify this operation.

No comment yetRead more...

The new YHub class is available everywhere

By seb, in Programming, june 03,2023.

A few weeks ago, we added the YHub class to the Java and TypeScript libraries. This week, we're adding this class to all the other programming libraries. As a reminder, this class is used to obtain the connection status between the programming library and any YoctoHubs or VirtualHubs that have been registered.



No comment yetRead more...

Writing robust code

By martinm, in For the beginners and Programming, april 28,2023.

source:jarekgrafik@pixabayThis week we'll show you some programming tips and tricks to make an application that uses Yoctopuce modules more robust. This is important if you want to build sytems that need to run 24/7 without failing.

No comment yetRead more...

The SelectArchitecture method of the Python library

By seb, in Programming, april 21,2023.

Our Python library works on the three main OSes (Windows, macOS, and Linux). 99.9% of the time, everything works as expected and the library automatically detects the OS and the architecture of the machine. But under Linux, in rare cases, it is necessary to specify this last parameter manually. This is the job of the YAPI.SelectArchitecture() method.


No comment yetRead more...

Controlling Yoctopuce modules with a Flic Hub LR

By martinm, in Programming, april 07,2023.

Do you remember the Flics buttons we talked about a few years ago? Well, we still use them internally. In the meantime, Shortcut Labs has released a version 2 of these buttons and their Hub. It turns out that the new model, called Flic Hub LR, can run JavaScript code written by the user and thus allows you to implement behaviors a little more complex than On/Off. Of course, we wondered if we could run the JavaScript version of the Yoctopuce API on these new Hubs.

No comment yetRead more...

1 2 3 4 5 6 7 8 9 10 ... 20 ... 30 ... 37

Yoctopuce, get your stuff connected.