Can a Raspberry Pi write to GPIO pins?
This tutorial covers how to create Java Embedded applications that read and write to general-purpose input/output (GPIO) pins on a Raspberry PI by using Oracle Java ME Embedded 8. Intelligent devices are becoming an ever more important and ubiquitous part of our every day lives.
How to use GPIO with Java ME Embedded 8?
In this tutorial, you create a Java ME Embedded 8 application by using a desktop development environment. Using a breadboard, you wire a simple circuit to connect a push button switch to a GPIO pin (input) and you wire a light-emitting diode (LED) to an output pin.
How to install Oracle Java ME on Raspberry Pi?
Oracle Java ME 8.2 supports working with any embedded display with the frame buffer interface such as Adafruit PiTFT 3.5″ Touch Screen for Raspberry Pi. To develop applications on the Raspberry Pi board, you must first download and install the Raspbian operating system (based on Debian Wheezy) on the Raspberry Pi board.
How to install embedded software on Raspberry Pi?
To develop applications on the Raspberry Pi board, you must first download and install the Raspbian operating system (based on Debian Wheezy) on the Raspberry Pi board. Note that if you want to use the embedded display, you must download the customized operating system image.
How are the pins on a Raspberry Pi numbered?
The pins are numbered from 1 through 26, with the odd-numbered pins on the left and the even-numbered pins on the right. The pins with white labels should not be connected and are marked “DNC” (do not connect) on many headers.
Where does the long lead go on a GPIO board?
The long lead should go into row 18 on the right side of the board, and the short lead should go into the right negative (blue) rail. Insert a 10 K Ohm resistor (brown, black, orange) between row 20 on the right side and the negative (blue) rail on the right. This is one side of the switch.