In a previous example at connecting a mcp23017 to your raspberry pi we used a python script to flash LEDs connected to mcp23017 but there are other options available. In this example we look at a command line tool called i2cset i2cset is a small helper…
Reference
-
-
Raspberry PI A+, B+ and 2B GPIO J8 40-pin pinout. Raspberry PI Models A and B have only the first 26 pins. GPIO# 2nd func pin# pin# 2nd func GPIO# – +3V3 1 2 +5V – GPIO2 SDA1 (I2C) 3 4 +5V – GPIO3 SCL1…
-
Raspberry Pi hardware information, open up the terminal and type the commands listed below, you can also see the output from the terminal cat /proc/cpuinfo displays details about the device’s processor. cat /proc/meminfo displays details about the Raspberry Pi’s memory cat /proc/partitions reveals the size…
-
The MySQL Client can be used to connect to MySQL Server databases across a network. It provides a text-based interface to a MySQL Server. Commands # Install MySQL Client from the Debian repository sudo apt-get install mysql-client The package manager may suggest some dependencies for MySQL…