Ooops
July 04, 2020, 07:25:35 PM

Author Topic: from blitz3d bb code to arduino ino code, experiments...  (Read 549 times)

Offline RemiD

  • Hero Member
  • *****
  • Posts: 1052
from blitz3d bb code to arduino ino code, experiments...
« on: January 12, 2020, 08:21:27 AM »
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)
DualCore AMD E-450, 1646 MHz - 6 Go DDR3 1333 SDRAM - AMD Radeon HD 6320 Graphics (384 Mo) - Windows 7 Home Premium - DirectX 11.0

Offline 3DzForMe

  • Hero Member
  • *****
  • Posts: 1042
Re: from blitz3d bb code to arduino ino code, experiments...
« Reply #1 on: January 12, 2020, 11:01:00 AM »
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 ;)

Offline RemiD

  • Hero Member
  • *****
  • Posts: 1052
Re: from blitz3d bb code to arduino ino code, experiments...
« Reply #2 on: January 12, 2020, 07:22:20 PM »
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 )
DualCore AMD E-450, 1646 MHz - 6 Go DDR3 1333 SDRAM - AMD Radeon HD 6320 Graphics (384 Mo) - Windows 7 Home Premium - DirectX 11.0

 

SimplePortal 2.3.6 © 2008-2014, SimplePortal