How to create Make file in CPP

What is Makefile

Makefile is a program building tool which runs on Unix, Linux, and their flavors. It aids in simplifying building program executables that may need various modules. To determine how the modules need to be compiled or recompiled together, make takes the help of user-defined makefiles.

Link to understand the Make file creation in CPP

 

Thanks for the youtube programming knowledge channel in making this tutorial.

Video source: youtube programming knowledge channel

3D Printer SCARA Robot – Teacup Firmware windows dependency software package links and Installation process

#Teacup Firmware Code python package dependency link:

For windows installation

Python 2.7.13 – https://www.python.org/downloads/

Python 2.7 wxpython package – https://wxpython.org/download.php#msw

Python 3.6.1 (optional) – https://www.python.org/downloads/

Arduino IDE download link – https://www.arduino.cc/en/Main/Software

Arduino IDE procedure link – https://www.arduino.cc/en/guide/windows

References:  Teacup Firmware source code link

https://github.com/Traumflug/Teacup_Firmware

Please like this post and we are very happy to share our knowledge to you

Dictionary .get method usage in python

Description

The method get() returns a value for the given key. If key is not available then returns default value None.

Syntax

Following is the syntax for get() method −

dict.get(key, default=None)

Parameters

  • key — This is the Key to be searched in the dictionary.
  • default — This is the Value to be returned in case key does not exist.

Return Value

This method return a value for the given key. If key is not available, then returns default value None.

Example

The following example shows the usage of get() method.

#!/usr/bin/python

diction = {'Name': 'Kumar', 'Age': 12}

print "Value : %s" %  diction.get('Age')
print "Value : %s" %  diction.get('School', "Nothing")

When we run above program, it produces following result −

Value : 12
Value : Nothing

Solution for : Unable to lock the administration directory (/var/lib/dpkg/) is another process using it?

root@123:~# sudo apt-get install git
E: Could not get lock /var/lib/dpkg/lock – open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

Remove your /var/lib/dpkg/lock file and force package reconfiguration.

sudo rm /var/lib/dpkg/lock
sudo dpkg --configure -a

It should work after this.

Top 10 Internet of Things Platform

  1. Amazon web services a.ka. AWS
  2. Microsoft Azure Internet of Things hub
  3. Thingworx
  4. IBM Watson Internet of Things Platform
  5. Cisco Internet of Things Platform
  6. Salesforce Internet of Things Platform
  7. Carriots Internet of Things Platform
  8. Oracle Internet of Things Platform
  9. Predix Internet of Things Platform – GE
  10. Kaa Internet of Things Platform – middleware

Few more quickstart Internet of Things Platform

  1. Samsung Artik Cloud
  2. Google cloud
  3. Thingspeak
  4. Things.io
  5. Thinger.io
  6. Cayenne Internet of Things Platform
  7. CloudMQTT Internet of Things Platform
  8. Exp-lab Internet of Things Platform
  9. Iot-lab Internet of Things Platform
  10. favouriot

Complete and easy understanding of HC-SR04 Ultrasonic Range Sensor working and it’s programming interface with Raspberry Pi using python

Please go through the below link to get the complete understanding of HC-SR04 module

https://www.modmypi.com/blog/hc-sr04-ultrasonic-range-sensor-on-the-raspberry-pi

Link for raspberry pi HC-SR04 library module

https://pypi.python.org/pypi/hcsr04sensor/1.2.0

M2M Example applications GitHub links

I am sharing few M2M Applications links which I come across during my research. Please find it below, it is good to start

Programming language used are

  1. Python
  2. JavaScript

1. Smart Traffic Management System for Emergency Services

https://github.com/shyampurk/m2m-traffic-corridor

2. Local Website for Harvey Mudd College

https://github.com/blampe/M2M

Top 5 machine-to-machine (M2M) applications in the world

Here are the Top 5 Machine to machine  (M2M) applications in the world.

  1. Utility companies
  2. Traffic Control
  3. Telemedicine
  4. Security in Business
  5. Telemetry

Well there are many more applications, i searched in the web for Machine to machine communications in detail and this link is worth reading. They have explained full machine to machine communications from scratch.

Please go through this iotworm.com article link:

http://iotworm.com/machine-machine-communication-examples-applications/