In a previous example we created a simple console program, in this example we will create a basic GUI program. To do this we need to install GTK. Lets begin by installing GTK for mono [codesyntax lang=”bash”] sudo apt-get install gtk-sharp2 [/codesyntax] Create a folder …
shedboy71
-
-
Previously we showed you a C# example for your Raspberry Pi. We installed a text editor and then the mono development environment. We then created our c sharp example in our text editor , compiled and ran it. This typically is the way you write …
-
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 …
-
File and directory command line Directories List directory: ls List directory (wildcard matching): ls *.txt List all files of type: find . -name “*.txt” -print Switch/toggle between dirs: cd – Make empty directory: mkdir sample-directory Remove empty directory: rmdir sample-directory Remove directory with all contents: …
-
Flash the ACT led from the command line, this tip was sent to me so I gave it a try, you could this in a script. The LED in question is seen below, this may depend on the version of Raspberry PI you have as …
-
Here are a couple of BASH scripts to display the temperature of the BCM2835 SoC used on the Raspberry PI. Using this its fairly simple to create a temperature logging system or even going a step further and if the temperature exceeded a maximum you …