March 18, 2009 – 10:14 pm
I talked about the DS1620 in a previous post. Now I created a DS1620 library for Arduino that has a more object oriented interface. The library has to be unpacked in the $arduino_home/hardware/libraries directory. After unzipping the library you should end up with a $ARDUINO_HOME/hardware/libraries/ds1620 directory. The library contains an example that can be accessed [...]
I finally put together an Arduino Pro Mini, the XBee, the MMA7260Q, the HMC6352, the TEMT6000 and the DS1620. This is how it looks like on the prototyping board (ugly, I know) Hopefully it would look better when I move it to the PCB. But before doing that I need to get the battery power [...]
By ruben.laguna
|
Posted in electronics
|
Tagged arduino, cluster, compass, heading, library, measure, measurement, temperature, tilt, xbee, zcl, zigbee
|
Some examples of XBee API Frames. Modem status frame 7E 00 02 8A 06 6F 7E: API Frame 00 02: Length 8A: Modem status 06: Coordinator started 6F: checksum FF – ((8A +06) & FF) = 6F AT Command API Frame: MY 7e 00 04 08 52 4D 59 FF 7E: API Frame 00 02: [...]
The barrel roll. Bookmark It Hide Sites $$(‘div.d425′).each( function(e) { e.visualEffect(‘slide_up’,{duration:0.5}) });
I just came up with the idea of reproducing the GraphView demo I saw in prefuse by using the Netbeans Visual Library API. The GraphView demo uses a Force Directed Layout algorithm to dinamically position the nodes on the screen. It’s really fast and cool. Download prefuse and experiment with it by yourself. I wanted [...]
By ruben.laguna
|
Posted in java, netbeans
|
Tagged algorithm, based, force, graph, layout, library, netbeans, prefuse, topcomponent, visual, visualization, visualizer
|
I found this great tip How To Display Sidebar in Single Post in WordPress 1.5 / 2.0 Default Kubrick Theme. The only problem is that the code that you should add is not properly shown in the post. He just copied the xml code verbatim in the post without escaping it and the browser doesn’t [...]
By ruben.laguna
|
Posted in wordpress
|
Tagged column, default, get_sidebar, kubrick, narrow, post, sidebar, single, theme, wide, wordpress
|
The default Netbeans Platform Application generated by the Netbeans IDE wizard has the Save, Undo and Redo button showing up in the toolbar by default. Since my applications doesn’t have anything to save I decided to hide those buttons. I turns out that remove them is really simple, I knew that I had to fiddle [...]
By ruben.laguna
|
Posted in netbeans
|
Tagged actions, api, folder, hidden, hide, layer, netbeans, platform, remove, saveaction, toolbar, toolbars
|
at least according to Google Trends Bookmark It Hide Sites $$(‘div.d374′).each( function(e) { e.visualEffect(‘slide_up’,{duration:0.5}) });
To add an GPL notice to all your new files Just open the Netbeans Template Manager by clicking Tools ⇒ Templates. Click on the Default License and press the Duplicate button. Then select the newly created “license-default_1.txt” and rename it to “license-gplv3.txt” (the name it’s important copy exactly the same name). Then click on “Open [...]
it’s unbelivable the amount of comment spam that this site gets
99.4 % of the comments are spam. Thank god that Akismet takes care of it Bookmark It Hide Sites $$(‘div.d378′).each( function(e) { e.visualEffect(‘slide_up’,{duration:0.5}) });
Hide Sites