XIO

xWire

Posts from every feed QUEST has found across the web — blogs, news, podcasts, channels and more.

Arduino Forum - Latest posts

Latest posts

Help making a set of C++ Classes

Yes only with virtual functions. GoForSmoke: This is where I say that C is the tighter language Well, you only pay the price for the added value when you use it. A C++ class with no virtual functions compiles down to the same thing as a C struct with plain functions, so nothing gets bigger just because the compiler is C++. And C has no classes, no virtual functions, no compiler-generated vtables that come in handy, and no default arguments either (in standard C). If you need that kind of…

nRF24L01 vs ESP32S3

thierryr51: Monsieur Claudius. Sachez que je suis loin d'être un informaticien chevronné de votre rang. En écrivant sur ce forum, vous devez comprendre que vous avez affaire à toutes sortes de gens. Donc si vous trouvez mon code infecte, abscons ou tout autre, ça vous regarde, mais gardez ce genre de commentaire pour vous. C'est dommage si chacun garde ses commentaires pour lui, tu n'aura aucun moyen de progresser. On peut toute fois effectivement regretter la façon abrute du commentaire et le…

Help making a set of C++ Classes

This is where I say that C is the tighter language and ask if the vtable only happens when virtual functions in derived classes are used. Some of the targets for this have 256 bytes SRAM. What mattered not at all (not sweet F-A) when I coded PC's does matter to me at least since coding MCU's and regarding the 328P as having luxurious RAM compared to the rest of that AVR family. Perhaps a set of classes really is better in the small perspective?

[ITALIANO] Lo spamm bar (Part 3)

Molto interessante visto che non appena ho tempo vorrei dedicarmi a capire un po' meglio come utilizzare gli ESP perché ammetto che ne ho comprato un paio ma mai usati seriamente, fatte due prove e stanno li in un cassetto. Visto che uso KiCad questa libreria è una gran cosa. E per restare in tema ho fatto una prova con una schedina comprata su Amazon, ho dato in pasto a Claude Code le IMMAGINI della piedinatura, da quelle ha capito chi era il produttore, il modello ha scaricato le informazioni…

Sketch not running

I first tried it many years ago, found that it worked and have used it ever since. It is no surprise that it works because A5 is a variable declared in pins_arduino.h. Its value is taken from the PIN_A5 macro that is #defined in the same file, at least for AVRs, but I can't guarantee that it will work for other boards and I have not investigated.

Tableau 4 rangées et différentiel type A : comment dimensionner?

Salut tout le monde, J'aide un proche à refaire le tableau de sa maison des années 90, et je me suis retrouvé à compter les modules sur un bout de papier. Résultat : j'ai failli partir sur trop juste en rangées. En gros, entre les départs existants, ceux qu'on ajoute et la réserve, ça grimpe vite. 72 modules, ça paraît beaucoup, et pourtant un tableau 4 rangées de 18 modules se remplit plus vite qu'on ne croit. L'autre surprise: le différentiel d'origine était de type AC. Or il y a maintenant…

MP3 or WAV in onboard memory

This is above my expertise level, but it seems you have 9.4MB of flash available to store wav files. Forget about LittleFS. There must be FFAT examples for this in the IDE. Run that example sketch once to format the partition as FAT. Then try to drag/drop a .wav file onto the flash with the FATFS Tools tab page of ESPConnect.

MP3 or WAV in onboard memory

I was able to get a SPIFFS partition to take but the site will not connect, it does say paired but I get an error (An error occurred while processing information from the device. Last error: Couldn't sync to ESP. Try resetting manually. Last error: Couldn't sync to ESP. Try resetting.) I will keep tring

I caught the Google AI in a math error

ptillisch: Severe hallucinations may be encountered even when using a high end paid service True but less often I found. To clarify what I was saying, it's not about the initial straight answer (better models tend to be just better indeed), it's about going further in the conversation. Free models have a smaller context window (the amount of text the model can take into account at once, counting your messages, attached files and its own replies). The way it works is that the model rereads the…

Help making a set of C++ Classes

GoForSmoke: Does the derived class object contain extra byte If you have (with Serial.print instead of cout in our most of our default world) class Animal { public: virtual void speak(int a = 1, int b = 2, int c = 3) { std::cout << "Animal\n"; } }; class Dog : public Animal { public: void speak(int a, [[maybe_unused]] int b, [[maybe_unused]] int c) override { std::cout << "Dog " << a << "\n"; } }; class Cat : public Animal { public: void speak(int a, int b, [[maybe_unused]] int c) override {…

Sketch not running

GolamMostafa: If using for() loop to set directons of all the header pins (0 - 13, A0 - A5) in ONE GO, we use 14 - 19 instead of A0 - A5; whereas, 14 - 19 are not inscribed on the board. edit Why not use ? for (int p = 9; p <= A5; p++)

Arduino App Lab freezes my whole PC on project import, and VENTUNO Q keeps dropping Wi-Fi after ~2 hours - breaks SSH workflow

neelbuilds: there is no cable-based SSH / alternative access shown. Referring to UNO Q and App Lab: I intentioally connect my UNO Q with PC using USB-C only charging cable to see that the board boots up using WiFi network and then I can access the Linux-MPU via SSH terminal. I connect my UNO Q with PC using USB-C data cable to see that the board boots up using cable-path and then I can access the Linux-MPU via Linux Terminal opened by clicking on the >_ icon located at the left-bottom of the…

Gyro for accurate 90° turns on a small maze robot: is the MPU6050 still a good choice?

Hi all. I'm helping a kids' team with a small two-wheel maze robot (micro:bit-based, but the gyro question is general). We need repeatable in-place 90° turns, each within ±2°, over a 5-minute run. Side distance sensors will correct the heading while driving, so long-term drift matters less than per-turn accuracy. We're considering a branded MPU6050 module (Joy-IT SEN-MPU6050 or branded IMU based gyro) rather than a generic GY-521, with: a gyro bias calibration at standstill (about 2 s) at every…

Arduino App Lab freezes my whole PC on project import, and VENTUNO Q keeps dropping Wi-Fi after ~2 hours - breaks SSH workflow

Hi @neelbuilds. neelbuilds: I created one project in App Lab and tried to import a folder into it. The folder was not large, but importing it lagged my entire machine, not just App Lab. Everything became unresponsive and I had to restart my computer to recover. Are you able to reproduce the "lagged my entire machine" fault if you try importing the folder to an App again now? If yes, does the fault occur with all folder imports, or only when you import a folder with certain specific content?…