When designing our audio output switch, we thought about using a motorized potentiometer for the volume. The idea was quickly dismissed because this would have added bulkiness and complexity into a project that we wanted simple and compact. However, the question remains: can we use a motorized potentiometer with Yoctopuce modules? We tried it and the answer is yes, although it's quite tricky to do.
This week, we are going to talk about programming. Support has recently received an interesting question: "how can you register an object method as an arrival callback". Our API documentation talks only about callback functions but, as we are going to see, most programming languages allow you to register object methods.
People like the TypeScript language as much to create web interfaces as to write Node.js software which work as a service, with complete access to the machine resources. You can also write traditional applications in TypeScript, that is applications which combine a graphical interface and access to all the resources of the machine, for example to access a database or files. We are going to explore this scenario and see how to access Yoctopuce modules in such a scenario.
If you use your Windows computer to listen to music while you are working and if, depending on the circumstances, you listen to this music with a Bluetooth headset or external speakers, you might have noticed that switching from one mode to the other is somewhat tedious. One must possibly unlock the screen saver, then open the sound interface and select the output device in a drop-down list. Why not build a physical interface which would be easier to use?
We carry on with our series of posts on the Yocto-Toolbox Android application. This week, we added firmware update and the consultation of module logs.
1 ... 10 ... 16 17 18 19 20 21 22 23 24 25 26 ... 30 ... 40 ... 50 ... 60 ... 70 ... 80 ... 90 ... 100 ... 110 ... 120 ... 129