bradsrpi.blogspot.com
Brad's Raspberry Pi Blog: June 2015
http://bradsrpi.blogspot.com/2015_06_01_archive.html
Brad's Raspberry Pi Blog. Thursday, June 11, 2015. Win 10 IoT on RPi 2: Simple C Code to Control an LED via a RadioButton. This example assumes that you have Windows 10 IoT Core set up already and have configured Visual Studio to work with your device. This is covered in the MS getting started documentation. For what it's worth, I'm using the preview version of Visual Studio 2015 installed on a Windows 10 preview VM running under Parallels on my Mac. Add Reference to Visual Studio Project. You will need ...
bradsrpi.blogspot.com
Brad's Raspberry Pi Blog: January 2014
http://bradsrpi.blogspot.com/2014_01_01_archive.html
Brad's Raspberry Pi Blog. Wednesday, January 1, 2014. C Program to Read Temperature from Multiple 1-Wire Temperature Sensors Connected to a Raspberry Pi. For a more developed version of this program that also saves the data to a Sqlite3 database, see this post. I found this post by Matt Hawkins at Raspberry Pi Spy very helpful. This code relies on two kernel modules that must be loaded by the following commands before the code is run:. Int main (void) {. Struct dirent *dirent;. Ssize t numRead;. 1-wire d...
bradsrpi.blogspot.com
Brad's Raspberry Pi Blog: July 2014
http://bradsrpi.blogspot.com/2014_07_01_archive.html
Brad's Raspberry Pi Blog. Tuesday, July 15, 2014. C# (Mono) Code to Read an TMP102 I2C Temperature Sensor on a Raspberry Pi. To install Mono, run the following apt-get command as root:. The will get you the complete Mono package. For this example, I am using the TMP102 on a breakout board from Sparkfun. The i2cget utility is included with the i2c-tools package. If you don't already have it installed, you can run the following command as root to install it -. Using System.Diagnostics;. Private Process p;.
bradsrpi.blogspot.com
Brad's Raspberry Pi Blog: gcc-4.9 & g++-4.9 for the Raspberry Pi (C/C++ 11 & 14 Support)
http://bradsrpi.blogspot.com/2015/04/gcc-49-g-49-for-raspberry-pi-cc-11-14.html
Brad's Raspberry Pi Blog. Tuesday, April 7, 2015. Gcc-49 and g -4.9 for the Raspberry Pi (C/C 11 and 14 Support). I haven't done any posting here for a while, but I found information good information about installing newer versions of the GCC compilers with support for C11/C 11 and C 14:. Solarian Programmer -Raspberry Pi - Install GCC 4.9 and compile C 14 programs. Posted by Sol on 01/13/2015). Subscribe to: Post Comments (Atom). Gcc-49 and g -4.9 for the Raspberry Pi (C/C 11 &.
bradsduino.blogspot.com
Brad's *Duino Blog: September 2013
http://bradsduino.blogspot.com/2013_09_01_archive.html
Notes About Working with Various Arduino and Netduino Microcontroller Boards. Wednesday, September 11, 2013. Sending NMEA Commands from an Arduino Due Sketch to a Copernicus II (Trimble) GPS Module. Sparkfun's Copernicus II DIP Module Breakout. Is a GPS option that works quite handily with the Arduino Due. The Trimble Studio. Serial.begin(115200); / For output to serial console. Serial1.begin(4800); / Comm for GPS. Change port to 19200 baud. Serial1.write("$PTNLSPT,019200,8,N,1,4,4*1C r n");. After the a...
bradsrpi.blogspot.com
Brad's Raspberry Pi Blog: April 2013
http://bradsrpi.blogspot.com/2013_04_01_archive.html
Brad's Raspberry Pi Blog. Saturday, April 13, 2013. Serial (UART) Communication between a Netduino Plus 2 and a Raspberry Pi. This code is part of a small experiment to work out how to send data between a Raspberry Pi and a Netduino Plus 2 via a serial (UART) connection. See this posting on one of my Arduino/Netduino blog. For more information (including notes on how the two devices are wired together). Ser = serial.Serial("/dev/ttyAMA0", baudrate=115200). Read 1-byte command from Netduino. If c = '@':.
bradsrpi.blogspot.com
Brad's Raspberry Pi Blog: Win 10 IoT on RPi 2: Simple C++ Code to Control an LED via a RadioButton
http://bradsrpi.blogspot.com/2015/06/win-10-iot-on-rpi-2-simple-c-code-to.html
Brad's Raspberry Pi Blog. Thursday, June 11, 2015. Win 10 IoT on RPi 2: Simple C Code to Control an LED via a RadioButton. This example assumes that you have Windows 10 IoT Core set up already and have configured Visual Studio to work with your device. This is covered in the MS getting started documentation. For what it's worth, I'm using the preview version of Visual Studio 2015 installed on a Windows 10 preview VM running under Parallels on my Mac. Add Reference to Visual Studio Project. You will need ...
bradsduino.blogspot.com
Brad's *Duino Blog: June 2013
http://bradsduino.blogspot.com/2013_06_01_archive.html
Notes About Working with Various Arduino and Netduino Microcontroller Boards. Sunday, June 16, 2013. Adafruit Ultimate GPS Breakout and the Netduino Plus 2. About using the Adafruit Ultimate GPS Breakout (ver. 3). With an Arduino Due. This GPS module also works quite nicely with the Netduino. To get reception while working at my desk, this external GPS antenna. And connector are a big help. TX Digital 0 (COM1 RX). RX Digital 1 (COM1 TX). Public static void Main(). Serial.ReadTimeout = 1000;. Brief sleep ...
bradsrpi.blogspot.com
Brad's Raspberry Pi Blog: Java Code to Read GPS Data from a Sparkfun Copernicus II DIP Module & Store Readings in a JavaDB Database Table on a Raspberry Pi
http://bradsrpi.blogspot.com/2014/06/java-code-to-read-gps-data-from.html
Brad's Raspberry Pi Blog. Tuesday, June 24, 2014. Java Code to Read GPS Data from a Sparkfun Copernicus II DIP Module and Store Readings in a JavaDB Database Table on a Raspberry Pi. This example uses Java 8 to connect to the Copernicus II GPS module. Via a serial connection. For instructions on how to install Java 8 on a Raspberry Pi, see this Adafruit tutorial. To install the RXTXComm serial library for Java, run the following apt-get command:. Last year, I posted a similar example that uses MySQL.
bradsrpi.blogspot.com
Brad's Raspberry Pi Blog: C# (Mono) Code to Read an TMP102 I2C Temperature Sensor on a Raspberry Pi
http://bradsrpi.blogspot.com/2014/07/c-mono-code-to-read-tmp102-i2c.html
Brad's Raspberry Pi Blog. Tuesday, July 15, 2014. C# (Mono) Code to Read an TMP102 I2C Temperature Sensor on a Raspberry Pi. To install Mono, run the following apt-get command as root:. The will get you the complete Mono package. For this example, I am using the TMP102 on a breakout board from Sparkfun. The i2cget utility is included with the i2c-tools package. If you don't already have it installed, you can run the following command as root to install it -. Using System.Diagnostics;. Private Process p;.