Pig 5 - Golo Lcd

Once more, I’m back! Thanks to Golo Community my little tech issue was quickly solved. Below, you will find the Golo version of the previous posts. It’s even downloadable here To launch the golo samples, use the command: golo golo --classpath /opt/pi4j/lib/*.jar --files <your golo file> LcdSimple.golo : module PiG.gpio.LcdSimple # inspired by https://github.com/Pi4J/pi4j/blob/master/pi4j-example/src/main/java/LcdExample.java...

4 minute(s) read

Why Golo ?

As I only receive emails and no comments, I have to post some explanations here ;) When I first heard of Golo, I didn’t needed a new language. At least, I was satisfied with my daily use of Java or Groovy. Then a little twitt from Julien Ponge mentionned something coming, something that will be linked to the JVM, something called… Golo Because I already knew a little bit this crazy man who love explaining...

2 minute(s) read

Golo - Little 5

Ok! That’s time to sync everyone on the state of GoloHttpServer. First of all, I created a GitHub for this and you’re more than welcome to contribute, ask questions or even just talk about it. This will allow you to take a look at the implementation of the run function which handle the Http request and response. function run = |connectedClient, serverState| { let inFromClient = BufferedReader( InputStreamReader (connectedClient:getInputStream())) let outToClient = DataOutputStream(connectedClient:getOutputStream()) let...

3 minute(s) read

PiG 2 - First Interaction

In my previous article I explained some steps useful for my Little Experiment with my Raspy. Yes, I gave it a name, I’m stupid and geek ;) This time I’ll explain my first usage of Golo to control the GPIO of my Raspy. If you didn’t prepared your Raspy for Golo usage, just follow my article. All those previous articles looks like I prepared something ? ;) When you have the hardware and software ready...

4 minute(s) read

PiG 1 - Soldering Iron Step

so what ? You started the GoloHttpServer, showed something on Raspberry and… nothing ? Yeah, I know. But c’mon, I still need some sleep and still don’t have 72h days ;) Last week end, I started the next step in the Little Hardware meets Little Software. yep, I bring back on the desk my soldering iron! I had to prepare several items: a kit to assemble cobbler breakout to use on my breadboards a 2 lines...

2 minute(s) read