Categories
CodeIgniter PHP

CodeIgniter 4 Shield Authentication

Shield is a comprehensive authentication and authorization library for CodeIgniter 4, which simplifies implementing authentication in your application. When building web applications, securing your application’s authentication and authorization is paramount. Enter Shield, the official authentication and authorization framework for CodeIgniter 4. Designed with flexibility and security at its core, Shield provides a robust set of […]

Categories
Arduino

String to const char* Arduino

In Arduino programming, working with strings is a common task, whether you’re sending data over serial communication, displaying messages on an LCD, or interacting with other hardware components. The String class in Arduino provides a convenient way to handle text, but there are situations where you need to convert this String into a C-style string […]

Categories
Arduino

Arduino to Arduino i2c communication Example

Imagine you have two Arduinos, and you want them to talk to each other—maybe one collects data, and the other controls a motor based on that data. There could be many reasons where you may have to use multiple arduinos to communication with each other and there could be many ways to accomplish this task. […]

Categories
Git

Remove Your .env file from your GitHub Repository

If you, just like me, accidentally added the .env file in your GitHub repository, and now tried everything but the .env file changes are still being pushed to your GitHub repository, you can use this tutorial and just remove your .env file being update and synced with your remote origin repository. To exclude the .env […]

Categories
8051-8052 Assembly Language

Controlling a Motor with 8051 Microcontroller and L298N Motor Driver

Today we are going to use the L298N motor driver with 8051 microcontrollers to control a DC Motor. This motor control system is specially for robotic 2-wheel differential drive car. Or could be used with any other use case where we need to drive one or two motors with the push buttons. The program which […]

Categories
Golang

Golang int to string Conversion

There are several ways for Golang int to string conversion. We will briefly discuss few of them in today’s tutorial. We have built in strconv package to help us deal with the various data types. We can take help of that package to do our Int to String conversion task in the Go programming language. […]

Categories
STM32

Mastering STM32 Input Capture Mode with simple Example

Today we will try to learn the STM32 Input Capture Mode with the simplest code example to learn how to use STM32 Input Capture Mode? Before we dive into today’s tutorial you may want to check out our previous STM32 tutorials. For today’s example, I’ll connect a push button to one of the timers on […]

Categories
8051-8052 Assembly Language

Mastering the Art of 1-Second Delay Using Timer in 8051 Assembly

In our previous 8051 LED blinking example we used loop iterations to generate the delay but, in this post, we are trying to make use of 8051 timers. With the help of 8051 timers, we will generate exactly 1 second delay. We will explain the process of timer configuration, timer registers, timer register value calculation […]

Categories
Next js

How to Setup Shadcn UI in Next.js 14 Quick and Easy Guide

This article will explain the integration of Shadcn-UI with your Next.js 14 Project. Integrating ShadCN-UI with Next.js can streamline your development process, offering a blend of flexibility and power. This guide will walk you through the steps to set up, configure, and optimize your Next.js project with ShadCN-UI, ensuring a smooth workflow and a clean […]

Categories
8051-8052 Assembly Language Examples

8051 Assembly Frequency Counter Example

Today we are going to make a very simple 8051 Assembly code for a frequency counter example. We are going to make the example very simple and to the point just the way we normally do in our previous examples. Today’s focus is to demonstrate the very simple frequency counting algorithm implementation in 8051 assembly […]