SyntaxBomb - Indie Coders

Languages & Coding => Blitz2D, BlitzPlus, Blitz3D => Topic started by: RemiD on January 12, 2020, 08:21:27

Title: from blitz3d bb code to arduino ino code, experiments...
Post by: RemiD on January 12, 2020, 08:21:27
from blitz3d bb code to arduino ino code, experiments...

hi guys,

well i stopped to code with arduino during a few months, after a failure on a project on which i have spent a lot of time (the project worked well with a test/debug version with low dc voltage, but not with high/low ac/dc voltages, for some unknown reason, sometimes it worked, sometimes it stalled...)

anyway, i am back working on 3 different arduino projects, and the first one is already successful. ;D

what i do now is i write the code in words, then i translate it to blitzbasic bb code to debug/refine the logic, then once it works well i translate it to arduino ino, as a simplified version to test/debug the code (using serial.print() and a rgb led with different colors), then i add the others parts of the code for the others external devices (using premade templates to test/debug each device separately)

and this works well, i am quite happy with the result, i will probably post some examples here, from time to time.

that is all, have fun !  8)
Title: Re: from blitz3d bb code to arduino ino code, experiments...
Post by: 3DzForMe on January 12, 2020, 11:01:00
Quote
what i do now is i write the code in words, then i translate it to blitzbasic bb code to debug/refine the logic, then once it works well i translate it to arduino ino, as a simplified version to test/debug the code (using serial.print() and a rgb led with different colors), then i add the others parts of the code for the others external devices (using premade templates to test/debug each device separately)

Great stuff RemiD, I've dug out an old 32bit chip programmer I got a while ago on a 1 day course - a SIM3L1xx with LCD Precision32 Development Kit from Silicon Labs. Whether or not it still works - not that I achieved too much with it - is another matter.

I've just made great progress myself this morning - much further than I'd imagined with a project I've been working on sporadically over the years. Using a mixture of B3D and AGK, I've managed to put together a nice little heightmap generator - and it stemmed from a paper prototype - sometime getting your ideas down on paper can go a long way to realising your goal ;)
Title: Re: from blitz3d bb code to arduino ino code, experiments...
Post by: RemiD on January 12, 2020, 19:22:20
not sure what you are trying to do with this... but i find circuit design / programming for electronics / assembling components quite refreshing and useful compared to only making video games, because it can have real world, practical applications !

for now i am working on a light effect with progressive fading between different colors and with setable intensity and setable transition speed. and i am going to put the resulting gadget in my van, along with a portable speaker to play psybient / spacebient music. this will be nice and atmospheric. ( add to this a beautiful affectionate woman, and great times are ahead ;D )
SimplePortal 2.3.6 © 2008-2014, SimplePortal