Blog

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

Installing the Yoctopuce APT repository in 2023

By seb, in Programming, march 10,2023.

In order to make life easier for Linux users, we have an APT repository that allows you to easily install and update our applications with the apt-get tools and similar. To use our APT repository, we need to add it to the repository list, but this operation will change in future versions of the distributions. In this post, we explain how to add and use our APT repository so that it still works in the future.


No comment yetRead more...

Excel and Yoctopuce devices in 2023

By mvuilleu, in Programming, march 03,2023.

Yoctopuce support regularly receives questions about using Yoctopuce devices from an Excel spreadsheet. As Office versions change regularly, it is time to update our information on this subject.

No comment yetRead more...

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

Yoctopuce, get your stuff connected.