java:testpi4j
Differences
This shows you the differences between two versions of the page.
Previous revision | |||
— | java:testpi4j [2022/12/02 22:02] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== TestPI4J: A testing framework for your PI4J Projects ====== | ||
+ | |||
+ | |||
+ | |||
+ | ===== Intro ===== | ||
+ | |||
+ | Have you ever wondered to test your PI4J projects directly from your computer. Avoiding this routines of compile - copy into the pi - run?? Me to. This project is to allow precisely this: I've made a testing PI4J library so you can test your development from your computer. | ||
+ | |||
+ | Check this out: | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | It's my eclipse running a PI4J program, directly. The PI calls are packaged, sent over the network to the raspberry pi and there a server executes them, receives the answer and send the answer back to the computer. | ||
+ | |||
+ | This way, you can develop in your PC while the Pi stuff code is executed in the raspberry pi. | ||
+ | |||
+ | ===== Installation instructions ===== | ||
+ | |||
+ | Start to work with TestPI4J is easy: you only have download two files in the [[http:// | ||
+ | |||
+ | Once you have downloaded these files, you have to install the server (pi4jserve-1.0.zip) in the raspberry PI: just unpack the contents in a folder and run the pi4jServer.sh file as root. | ||
+ | |||
+ | Back in your application, | ||
+ | |||
+ | Place the file '' | ||
+ | |||
+ | |||