In this tutorial I will show you how I built an Arduino hexapod. As the name suggests, the hexapod has 6 legs but in addition to that, it also has a tail or abdomen, a head, antennas, mandibles and even functional eyes. All of this, makes the hexapod look like an ant, so therefo...
Find your Arduino document or sketch directory on your computer and create the hardware/custom/avr subdirectories. Files in that directory supplement the built-in hardware files that are in the Arduino application's directory structure. This is where you can put a boards.txt file which contains ...
Arduino Strings have been getting bad press due to the extra memory they use to make copies and the memory fragmentation they can cause. These can eventually consume all the available memory and cause the micro to miss-behave and reboot. This tutorial will show you how to avoid these two me...
35% of all HEX files use the same file format, which can be identified by the letters ":10" at the beginning. The contents of these files can even be read by a human. The file size is in the range of 1 KB to 320 KB. Files like these are about standard, continue, arduino, bl...
In this article we will take a look at Debugging feature of Keil uVision. In Previous Article we had seen how to create project, hex file and building Project. Once you build your project and if you see 0 errors and 0 warnings you are half way through your project. ...
Connect the pyboard to an available USB port on your computer. Next, download the firmware file: Find the version of your pyboard (e.g. PYBv1.0 or PYBv1.1), which should be written in white silkscreen on the board. Download the latest .dfu firmware file for your board from the...
Thus, one would need to generate file contents with hexadecimal data and output it as needed. In this example, we output the stored string object as hexadecimal characters to the console. Note that C++ provides a std::hex I/O manipulator that can modify the stream data’s number base. A...
Appending a SQL command output file rather than overwriting it? Appending text to a field that already contains text using TSQL apply cross apply function on condition Arabic question mark Arduino and SQL Server Are there any Bitmap(ped) indexes in SQL Server? Are there MIN(A,B) or MA...
To read a PPM file, first of all, we must read its header to get information about width & height. This is important as we must declare dynamic memory accordingly and read the data of the image. P6is a binary format; therefore, we have to open the image in binary format and do read...
Some time ago I purchased a dozen or more Arduino Pro Mini 328 3.3V 8Mhz boards, but only recently had a use for them. I was quite disappointed to find that 8 boards could not be programed through the Arduino IDE. Here’s how I rebuilt and reprogrammed the bootloader and fixed the ...