Archive

Archive for January, 2012

Twinkle little uno, pitching with a potentiometer. Searduino works for Arduino Uno

January 19, 2012 Leave a comment

I just made a “stupid” program for the Arduino UNO to test a bit more than the ordinary digital in/out. Wrote some code for playing tones with a Piezosummer and used that to play Twinkle twinkle lttle star, in “pure C with the Searduino libraries (totally based on Arduino code).

Continued with connecting a potentiometer to pitch up the song a bit. Fun for the kids.

Anyhow, everything seems to work fine… will focus on the simulator again.

Categories: Uncategorized

Most of the autoconf/automake/libtool workk done (not in public git yet)

January 18, 2012 Leave a comment

Why didn’t I do this from start? Adding autoconf etc to your project makes things so much easier. Anyhow, there’s now (on my computer) no command_reading thread in the stubs. This is moved to a separate simulator. So shortly we’ll see a release with:

* python scripting simulator interface

* streamed simulator

* Python/GObjbect GUI simulator that sort of malfunctions after some 60k events sent

 

Categories: Uncategorized

Constant work, currently autoconf/automaking searduino

January 17, 2012 Leave a comment

The simulator works nice (only supporting digital input/output pins). Python extension is tested and works. The Gtk (Py GObject) GUI is not refreshing after some 60-100 thousands callback… more work needed of course.

Before all that, it’s about time to start using autoconf, automake, etc. Currently (and locally) the stubs are now compiled via a generated Makefile. We’re getting there.

 

/h

 

Categories: Uncategorized

GNU/Linux 64 – uploading to uno works

January 11, 2012 Leave a comment

At least uploading to the board works, even if test with the stubs fail

 

Categories: Uncategorized

Started work on supprting GNU/Linux 64

January 11, 2012 Leave a comment

Libs build fine.., however during the test phase this is seen:

gcc  test.o    -o test -L../../libs -lsearduino-stub -ldl -L../shared/ -ltest  -L../../faked-arduino -lsearduino-stub -lpthread 
make[1]: Nothing to be done for `check'.
export LD_LIBRARY_PATH=../shared/:../../faked-arduino/ && ./test
dlib:         -1198649344 
setup      -1203005568 
main_fun      -1198643221 
Registering callbacks....
set_dig_input -1203007176 
get_dig_output -1203007127 
/bin/sh: line 1:  6433 Segmentation fault      ./test
make[1]: *** [check2] Error 139
make[1]: Leaving directory `/home/hesa/nongnu/searduino/test/shared-main'
make: *** [check-sw] Error 2

so some more work is needed. But the support almost there.

Categories: Uncategorized

Searduino is alive

January 10, 2012 Leave a comment

Just wanted to say some words about the Searduino project, or rather that it does exist.

Searduino basically is:

* Stub libraries for Arduino

* Python scripting interface to test your Arduino programs locally

* Arduino simulator to test your Arduino programs locally

* Stdin/Stdout “simualtor” with which you can talk with your Arduino program (locally)

* C/C++ interfaces for Arduino easier accessible

* Makefiles to ease up development and uploading from command line

* Currently supports: Uno, Due and Mega and basic Digital in/out on GNU/Linux

 

 

Categories: Uncategorized

Hello world!

January 10, 2012 Leave a comment

Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!

Categories: Uncategorized