hi, can i get examples for the programs of the basicatom pro 28-M by the c++??
Hi,
As far as I know there are no good libraries or example code out there for developing code for the BAP28 in C or C++, which is a shame as I really do like the Renesas H8-3694 processor. Every once in awhile I play with this and someday would like to develop a simple program for controlling one of my robots in C. What I have on my machine is a simple program that handles TimerA interrupt for timing, plus it used the LEDS for the old Atom Bot Board (P4-P6) and I had it doing I2C doing pings of an SRF-08 and hard coded bit bang function to write stuff out on S_OUT at 9600. None of this stuff is great, but was working awhile ago (year plus ago). Not sure if any of this would help you or not.
The C compiler that is downloaded as part of the IDE is the standard GNU GCC stuff. So there does exist code that should be relatively easy to port to the H8.
I much prefer to program in C or C++, but I also find some of my most fun is being able to help out and share code with and ideas with others up here. so I have not, done much with the C on the Pros in awhile.
I am now playing around again with C on AVR processors (Have a Brat walking with Axon2 - Different thread) But over the last couple of months I have had a couple of people mention it and maybe someday I will get inspired to work on it again. I don’t think it would take me long to get some basics working: (Bit bang serial input/output - Port my inline assembly code I use today in basic, PS2 - I have this running on AVR and assembly on H8, Hardware serial port - Just a wrapper, My XBEE stuff - Have in C on AVR but using support from webbotlib)…
However right now my priorities are on some different stuff including, getting the phoenix to work well with Arc32 board. Then hopefully play with terrain adaptation code using contact switches in the legs of the T-Hex. So many fun things to do and only so much time and energy.
Let me know if I can help
Kurt