Author Topic: Where I'm keeping my Code  (Read 977 times)

Nick_W

  • Full Member
  • ***
  • Posts: 215
    • View Profile
Re: Where I'm keeping my Code
« on: September 09, 2016, 11:09:02 pm »
Not as is. The Arduino libraries are written in C (or C++), so you have to rewrite them into the modules language, which is vb.net "like".

I don't know vb.net, but it's not too difficult, however I do know C (and C++), so it's not hard to translate one to the other, assuming you can figure out what the C library is doing. Just time consuming...

Now if the modules language just had unsigned integers, and a long data type, and a millis equivalent... It would be so much easier. Still, it does have a String type, which C still doesn't.

It's almost as bad as trying to write Java! (but no, nothing is that bad).
« Last Edit: September 09, 2016, 11:10:37 pm by Nick_W »