Arduino – Tone Library

July 5, 2019

In this chapter, we will use the Arduino Tone Library. It is nothing but an Arduino Library, which produces square-wave of a specified frequency (and 50% duty cycle) on any Arduino pin. A duration can […]

Arduino – Stepper Motor

July 5, 2019

A Stepper Motor or a step motor is a brushless, synchronous motor, which divides a full rotation into a number of steps. Unlike a brushless DC motor, which rotates continuously when a fixed DC voltage […]

Arduino – Servo Motor

July 5, 2019

A Servo Motor is a small device that has an output shaft. This shaft can be positioned to specific angular positions by sending the servo a coded signal. As long as the coded signal exists […]

Arduino – DC Motor

July 5, 2019

In this chapter, we will interface different types of motors with the Arduino board (UNO) and show you how to connect the motor and drive it from your board. There are three different type of […]

Arduino – Connecting Switch

July 5, 2019

Pushbuttons or switches connect two open terminals in a circuit. This example turns on the LED on pin 2 when you press the pushbutton switch connected to pin 8.   Pull-down Resistor Pull-down resistors are […]

Arduino – Ultrasonic Sensor

July 5, 2019

The HC-SR04 ultrasonic sensor uses SONAR to determine the distance of an object just like the bats do. It offers excellent non-contact range detection with high accuracy and stable readings in an easy-to-use package from […]

Arduino – PIR Sensor

July 5, 2019

PIR sensors allow you to sense motion. They are used to detect whether a human has moved in or out of the sensor’s range. They are commonly found in appliances and gadgets used at home […]

Arduino – Water Detector / Sensor

July 4, 2019

Water sensor brick is designed for water detection, which can be widely used in sensing rainfall, water level, and even liquid leakage. Connecting a water sensor to an Arduino is a great way to detect […]

Arduino – Temperature Sensor

July 4, 2019

The Temperature Sensor LM35 series are precision integrated-circuit temperature devices with an output voltage linearly proportional to the Centigrade temperature. The LM35 device has an advantage over linear temperature sensors calibrated in Kelvin, as the […]

Arduino – Humidity Sensor

July 4, 2019

In this section, we will learn how to interface our Arduino board with different sensors. We will discuss the following sensors − Humidity sensor (DHT22) Temperature sensor (LM35) Water detector sensor (Simple Water Trigger) PIR […]

Cloud Storage: Dropbox

July 4, 2019

If you only pick one cloud app service, Dropbox is the one you should install. The 2GB of free storage isn’t much, though you can increase that by referring friends. Dropbox offers an app for every major platform, […]

Internet Browser: Google Chrome

July 4, 2019

  Unsurprisingly, Google Chrome is our top browser pick. It’s still super-speedy, includes little conveniences like instantly searching Google for an image, and the library of Chrome extensions is vast. Throw in cross-platform syncing that lets you open […]

UnDeleteMyFiles Pro

July 4, 2019

UnDeleteMyFiles Pro Multiple tools Search by file type Disk snapshot Despite the inclusion of the word “pro” in the name, this program is still free; there is, in fact, no non-pro version. The look of UnDeleteMyFiles […]

Recuva

July 4, 2019

Recuva Something of a stalwart of the data recovery genre, Recuva has managed to build up a dedicated following – and it’s not hard to see why. The program can recover data not only from hard drives […]

EaseUS Data Recovery Wizard Free

July 4, 2019

 EaseUS Data Recovery Wizard Free Specify by folder Preview option 2GB recovery limit Keeping things nice and simple, EaseUS Data Recovery Wizard Free is the friendly, accessible face of recovering lost files. Fire up the program and […]

 Disk Drill

July 4, 2019

 Disk Drill Scans local and attached drives Simple to use PC and Mac Featuring a delightful simple interface, Disk Drill make file recovery very simple. There’s no need to fiddle with complex options, and the program can […]

MiniTool Power Data Recovery Free

July 4, 2019

 MiniTool Power Data Recovery Free Limit by file type Includes optical media Fast 1GB limit MiniTool Power Data Recovery Free is the only program in this round up which provides you with essential advice during the […]

Avast Driver Updater

July 4, 2019

Avast Driver Updater Avast Driver Updater v.2.4.0 is a small simple software to update drivers on a Windows PC. It is light, operates fast and smoothly, finds missing, corrupt or drivers that require an update. […]

TweakBit

July 4, 2019

TweakBit TweakBit offers a batch of software to speed up and fix computers, that is easy to use as it gets. One of the most beneficial tools, along with other products like PS Suite, PC […]

Device Doctor

July 4, 2019

Device Doctor Driver Doctor presents an easy to use interface which can be credited to the fact that there is not much packed into the software. The program focuses on scanning for outdated, broken and […]

Free Driver Scout

July 4, 2019

Free Driver Scout FDS is a freeware driver update tool that scouts for outdated drivers in your computers. It has got an extensive database of over a million devices to scout. It comes with features […]

DriverIdentifier

July 4, 2019

 DriverIdentifier Somewhat weird driver updater tool compared to other in the field, though with a library of 25 million device drivers DriverIdentifier could fit for all computer users. The app displays a precise message comparing […]

 Snappy Driver Installer

July 4, 2019

 Snappy Driver Installer Snappy Driver Installer is an impressive freeware tool for updating multiple drivers at a go. The software detects devices that are in critical conditions in terms of outdated, broken or missing drivers. […]

Smart Driver Care

July 4, 2019

 Smart Driver Care A great and hassle free driver update utility , Smart Driver Care will take care of all your driver update woes. It’s highly interactive and futuristic looking interface is one of the […]

Driver Easy

July 4, 2019

 Driver Easy Driver Easy is a powerful software that can be used at personal as well as commercial level. The program is compatible with Windows Operating Systems. It scans for issues within the computer drivers […]

 DriverMax

July 4, 2019

 DriverMax DriverMax free driver updater version is outstanding compared to other apps as it performs automated installations. It also can be pre-set to execute scheduled scans. The features we found in this driver updating software […]

Driver Booster

July 4, 2019

Driver Booster Driver Booster free version searches and updates drivers for Windows Operating System. For a free version, we find this driver updating software impressive as it picks up vital updates. Unlike the paid version […]

Get the name of the day today!

June 22, 2019

Here is an example of what the function returns: ‘The day today is ‘ + daytoday+’.’ Returns on a monday: The day today is Monday. Here is the function: function daytoday: string; begin Result:=”; {Can […]

Better moving form

June 22, 2019

unit Unit1; interface uses   Windows,   Messages,   Forms; type   TForm1 = class(TForm)   protected     procedure WMNCHitTest(var Msg: TWMNCHitTest); message WM_NCHITTEST;   end; var   Form1: TForm1; implementation {$R *.DFM} procedure TForm1.WMNCHitTest(var Msg: TWMNCHitTest); begin   // Call default procedure   inherited; […]

Change String To Proper Case

June 22, 2019

NOTE:Make sure to add “StrUtils” to your Uses section function properCase(sBuffer: string):string; var iLen, iIndex: integer; begin iLen := Length(sBuffer); sBuffer:= Uppercase(MidStr(sBuffer, 1, 1)) + Lowercase(MidStr(sBuffer,2, iLen)); for iIndex := 0 to iLen do begin […]

Delphi TextFile tutorial for beginners

June 22, 2019

Right. Well, as I explained in the purpose section, this file is meant for beginners who want to learn about text file management and routines, so, if you’re an experienced Delphi programmer, you might just […]

Understanding the Basics of Delphi Programming

June 22, 2019

Beginner developers eager to master the Delphi programming language should already be familiar with the basics of Microsoft Windows. Learning Delphi is easiest if you approach it from a guided, tutorial-based frame of reference. Foundational Concepts Get started […]

get different background color of DBGrid for odd and even rows (2)?

March 3, 2019

//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ //source for main form : //… uses // … Grids, DBGrids, db //… procedure artgrid(Sender: TObject; const Rect: TRect; DataCol: Integer; Column: TColumn; State: TGridDrawState); //… implementation //… procedure TForm1.artgrid(Sender: TObject; const Rect: TRect; DataCol: Integer; Column: TColumn; State: TGridDrawState); begin if ((Sender as tdbgrid).DataSource.DataSet.RecNo mod 2) = 0 then (Sender as tdbgrid).Canvas.Brush.Color := clblue; //or any color (Sender as tdbgrid).DefaultDrawColumnCell(rect, datacol, column, state); end; //++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ // for all DrawColumnCell event of DBGrid in any Form (here “Form2”): procedure TForm2.DBGrid2DrawColumnCell(Sender: TObject; const Rect: TRect; DataCol: Integer; Column: TColumn; State: TGridDrawState); begin Form1.artgrid(Sender, Rect, DataCol, Column, State); end;

get different background color of DBGrid for odd and even rows

March 3, 2019

{ Um in einem DBGrid die Übersicht zu behalten, ist es sehr angenehm, die Zeile abwechselnd einzufärben. Folgender Code soll Euch die näher bringen. Viel Erfolg beim Programmieren! Malte } procedure TForm1.DBGrid1DrawColumnCell(Sender: TObject; const Rect: TRect; DataCol: Integer; Column: TColumn; State: TGridDrawState); var test1: Real; RowNo: Integer; begin with (Sender as TDBGrid) do begin if (gdSelected in State) then begin // Farbe für die Zelle mit dem Focus // color of the focused row Canvas.Brush.Color := clblue; end else begin // Zeile erfahren // get the actual row number rowno := Query1.RecNo; // gerade und ungerade Zeilen ermitteln // odd or even ? test1 := (RowNo / 2) – trunc(RowNo / 2); // Zeile gerade… // If it’s an even one… if test1 = 0 then begin farbe := clWhite […]

create an Access Database From Delphi

March 3, 2019

uses ComObj; procedure TForm1.Button1Click(Sender: TObject); var AccessApp: Variant; begin AccessApp := CreateOleObject(‘Access.Application’); AccessApp.NewCurrentDatabase(‘c:\111.mdb’); AccessApp := Unassigned; end;

create a table including an AutoInc field (ADO/MSSQL)?

March 3, 2019

// Erzeugt eine Tabelle mit dem Namen MYTABLENAME, mit den Spalten ID, // MYTEXT1, MYTEXT2. // (Der Name der ID Spalte kann natürlich frei gewählt werden.) // ID ist der Primärschlüssel der Tabelle. Er ist ein Integer, der sich // automatisch für jede Zeile // der Tabelle erhöht. ID wird nie doppelt vorkommen. // MYTEXT1 und 2 sind vom Typ String. // Ich verwende die ADOConnection um mit Jet 4.0 auf eine Access- // datenbank (*.mdb) zuzugreifen. // Der Syntax ist MSSQL, wenn ihr das für PHP oder so verwenden wollt, // muss man das ein bissel umformulieren 😉 // Creates a Table called MYTABLENAME with a unique identifier called // “ID”. ID increases with every new row automatically. MYTEXT1 and 2 // are Strings. Name the colums as you want to. // I used the ADOConnection to access a MS-Access Database (*.mdb) // via Jet 4.0. // The Syntax is MSSQL, you have to transform it to use it in PHP or so. uses AdoDB; var q: TAdoQuery; db: TAdoConnection; begin // Initialize db here q := TADOQuery.Create(nil); q.Connection := db; q.Close; q.SQL.Clear; q.SQL.Add(‘Create Table MYTABLENAME (ID COUNTER PRIMARY KEY, MYTEXT1 String, MYTEXT2 String);’); q.Prepared := True; try q.ExecSQL; except end; q.Free; end;

1 2 3 4 5