Author: Abhay Kant
-
Concatenating Strings in MicroPython on Raspberry Pi Pico
In programming, concatenation is the process of combining two or more strings into a single string. This operation is commonly used in MicroPython on Raspberry Pi Pico to create dynamic messages and strings that can be used in various applications. In this blog post, we will explore the concept of string concatenation in MicroPython and…
-
String manipulation in MicroPython on Raspberry Pi Pico
String manipulation is a common task in programming, including in MicroPython on Raspberry Pi Pico. It involves modifying, searching, and extracting data from strings. In this blog post, we will explore string manipulation techniques in MicroPython and how to use them effectively. Modifying Strings In MicroPython, strings are immutable, which means that once a string…
-
Understanding string data types in MicroPython on Raspberry Pi Pico
Strings are one of the most commonly used data types in programming, including in MicroPython on Raspberry Pi Pico. In this blog post, we will explore the concept of string data types in MicroPython and how to work with them. A string is a sequence of characters enclosed within single or double quotes. It can…
-
Introduction to strings in MicroPython on Raspberry Pi Pico
Strings are a fundamental data type in programming, and they are no exception in MicroPython on Raspberry Pi Pico. A string is a sequence of characters enclosed in single or double quotes. Strings are used to represent text in programs, and they can be manipulated in various ways to achieve different results. In this blog…
-
Ohm’s Law Calculator
Voltage (V): Current (A): Resistance (Ω): How to use Ohm’s law calculator For example, let’s say we want to calculate the current flowing through a resistor that has a resistance of 100 ohms and a voltage of 12 volts. We would do the following: Explanation of Ohm’s law Ohm’s Law states that the current flowing…
-
How to Blink LED on Mini STM32 v3.0 Discovery Board Using STM32CubeIDE
Step 2: Configure GPIO Pins In the Project Explorer pane, expand the “Src” folder and open the “main.c” file. Scroll down to the main() function and add the following code to configure the GPIO pins: This code configures pin 2 on GPIOA as a push-pull output pin with no pull-up or pull-down resistors and low…
