Browsed by
Month: February 2018

Learn Object-Oriented Programming (OOP) in Python 3 Within 10 Minutes

Learn Object-Oriented Programming (OOP) in Python 3 Within 10 Minutes

Table of Contents What Is Object-Oriented Programming (OOP)? Classes in Python Python Objects (Instances) How To Define a Class in Python Instance Attributes Class Attributes Instantiating Objects What’s Going On? Instance Methods Modifying Attributes Python Object Inheritance Dog Park Example Extending the Functionality of a Parent Class Parent vs. Child Classes Overriding the Functionality of a Parent Class Conclusion In this article you’ll pick up the following basic concepts of OOP in Python: Python Classes Object Instances Defining and Working…

Read More Read More

Control Home Light With Android and Web

Control Home Light With Android and Web

Here is how to control home bulb with your smartphone and web. This tutorial uses Nodemcu with Arduino IDE. Just simple steps. Then you have a smart home if you are more smart 😀 . Prerequisite Arduino IDE (download) Nodemcu module Android phone Android Studio (Optional) Wifi router (Optional) Some jumper cables 5v opto included relay 5v power supply (old phone charger) Download links Android app 1. Build the circuit First we need to know little of nodemcu. It’s very…

Read More Read More