Blog

Yoctopuce and Golang

By martinm, in Programming, march 26,2021.

There are so many different programming languages that Yoctopuce obviously can't offer libraries for each of them. One of our customers happened to have a Yoctopuce module but no official library to use with it. So he did something we weren't expecting: he transformed the C++ programming example into a DLL and he coded calls to this DLL from his favorite programming language. It's really smart. This week, we are going to explain this method to interface a Yoctopuce relay from the GO programming language.

No comment yetRead more...

Docker and the VirtualHub

By seb, in Programming and Misc, march 19,2021.

Several customers contacted us because they were having difficulties executing the VirtualHub into a Docker container. Technically, you can do so, but we discourage the use of the VirtualHub in a Docker container. Here is why.



No comment yetRead more...

Installing a TypeScript application on a YoctoHub

By mvuilleu, in Programming and Internet of Things, february 12,2021.

The TypeScript language is a great improvement on JavaScript, as it allows for error detection during compilation rather than during run time. But if it's quite easy to integrate with Node.js, its use to write HTML interfaces without a Node.js server is not so trivial. We are therefore going to show you how to implement an HTML application in TypeScript which optimizes network transfers, so as to install it directly on a YoctoHub-Ethernet.

No comment yetRead more...

How to start in TypeScript with Yoctopuce modules

By mvuilleu, in For the beginners and Programming, january 29,2021.

Starting this week, you can use Yoctopuce modules directly from an application written in TypeScript. We have indeed just published a new programming library for this language, which is becoming more and more popular. It's therefore the occasion to offer you a tutorial for new users of Yoctopuce modules, with a short and simple but realistic example. As usual, we assume that you have some prior knowledge of TypeScript programming, but we'll explain the rest in detail.

No comment yetRead more...

A light sensor for a connected cat flap

By mvuilleu, in Internet of Things, DIY and Programming, january 11,2021.

A few months ago, a small feline has taken up residence next to Yoctopuce and sometimes comes to visit. So that it can come in and out freely during the day, we installed a microchip cat flap which we can control remotely. When we installed it, we thought that there was bound to be some interesting tinkering that we could do with the cat flap and some Yoctopuce modules, and there we are...

No comment yetRead more...

1 ... 7 8 9 10 11 12 13 14 15 16 17 ... 20 ... 30 ... 38

Yoctopuce, get your stuff connected.