Pi4J Project
Java API for accessing GPIO, PWM, I2C, SPI, UART
The Pi4J Project now includes support for BPI-M1 and BPI-M1+,also can use it on BPI-R1.
This support has just been added and only cursory tests performed, so lets call it experimental for now, but I welcome you
guys to try it out and let me know if you run into any trouble. You must use the Pi4J v1.1-SNAPSHOT builds until v1.1 gets
released. You can manually download the JARs in ZIP or the installable .DEB package from this page:
http://pi4j.com/download.html
Support includes Java programatic access and control of GPIO inputs/outputs, PWM, I2C, SPI, and UART (serial).
There is no documentation yet specifically for the Banana platforms, but apart from a few subtle differences in configuring a
platform and pin/bus addressing, its basically the same. Perhaps better than documentation ... there are a number of
examples (sample code) included in the build and available in the GitHub repo specific to each Banana platform:
BananaPi Examples:
https://github.com/Pi4J/pi4j/tree/develop/pi4j-example/src/main/java/bananapi
BananaPro (BPI-M1+) Examples
https://github.com/Pi4J/pi4j/tree/develop/pi4j-example/src/main/java/bananapro
Other notes: You don't have to install and compile WiringPi/WiringBP seperately! The Pi4J core JAR includes all the native
libraries it needs to communicate with the hardware embeded in the JAR.
Pi4J Project
83
Содержание BPI-R1
Страница 5: ...BPI R1 hardware interface BPI R1 hardware interface Front Back BPI R1 hardware interface 5...
Страница 6: ...Hardware connect sketch map Front Back BPI R1 hardware interface 6...
Страница 7: ...BPI R1 hardware interface 7...
Страница 8: ...BPI R1 hardware spec BPI R1 hardware spec 8...
Страница 14: ...J13 P01 UART0 RX PB23 J13 P02 UART0 TX PB22 BPI R1 GPIO Pin define 14...
Страница 28: ...please note value 0 value 1 press is 1 unpress is 0 BPI R1 IR interface 28...
Страница 41: ...BPI R1 RoHS Certification BPI R1 CE FCC RoHS Certification 41...
Страница 42: ...BPI R1 CE FCC RoHS Certification 42...
Страница 43: ...BPI R1 Software BPI R1 support linux android and openwrt system BPI R1 Software 43...
Страница 59: ...Linux kernel 3 4 BSP image 59...
Страница 76: ...BPI R1 OpenBSD BPI R1 booting OpenBSD current http www openbsd org armv7 html BPI R1 OpenBSD 76...
Страница 84: ...Reference documents Thank many user writer document for banana pi BPI R1 Reference documents 84...