Today many household appliances have fuzzy logic built into them to make their use easier. You can find fuzzy logic in shower heads, rice cookers, vacuum cleaners, and just about everywhere. Here is a list of general observations about fuzzy logic: Fuzzy logic is conceptually easy to understand. The mathematical concepts behind fuzzy reasoning are very simple. What makes fuzzy nice is the...
Memory Management Algorithms for MMU-Less Systems
There are several different approaches for memory management that can solve the fragmentation problem on MMU-less embedded systems. Each algorithm is classified according to the way that it finds a free block of the most appropriate size. There are five categories extendedly analyzed in M. Masmano el al. [1], Sun et al. [2] and P. R. Wilson [10] works: Sequential Fit, Segregated Free Lists...
Autonomous Robots and Application Types
Robots are mechanical or virtual artificial agents, usually electro-mechanical machines which are controlled by a computer program or electronic circuitry. There are separated into different categories depending on their functionality. Most popular robots are placed in hazardous places because these robots perform the tasks that humans are not able to access. Some robots(autonomous robots) can...
How to convert a C-string to upper/lowercase
Often, I find myself in situations where I need to convert a string to either uppercase or lowercase. A nifty trick I often employ is leveraging the ASCII code, where each character corresponds to a specific number. The beauty lies in the fact that the uppercase letters (A-Z) and lowercase letters (a-z) are neatly organized into continuous ranges of ASCII values. For instance, a quick visit to...
How to reverse a C string
In this example we delve into a straightforward function designed to reverse a C-string. As we traverse the theoretical realm, it’s crucial to understand that a C string is essentially a character array culminating with the distinctive termination character ‘\0’ at the end of the actual string. To grasp the intricacies, consider that the length of the array housing the actual...