Voltangle

Results 96 comments of Voltangle

Yes, I am about the Arduino libraries. And also, we need to know that I am not a cpp guy, I am a Kotlin developer, so I don't know much...

Thanks for the guidance! I will learn those parts more precisely :)

Hi, I have a question. How gotway unicycle sends data through physical rx/tx: byte after byte, or as a packet? I mean, just a string of characters

Question about the library header file. What is this part of code? ``` #if (ARDUINO >= 100) #include #else #include #include #endif ```

And also another question. Why did you use `struct`, if you can just use `class`? They are basically the same, but they have some diffs in access by default. So...

And I also have designed the basic organisation of code: ![isoflow-2](https://user-images.githubusercontent.com/61655029/93000653-8367a880-f532-11ea-920f-b066ee0d09b6.png)

Still not the one I wanted, I will later post here the final version

I think it needs to look like this: ``` c++ class GWMSX: public EUC { // inherit attributes and functions from EUC class // code }; ```

And I have another suggestion in design. We can have special classes for decoding data from unicycles, for example GotWayDecoder(as It is in my diagram). And classes for each unicycle...

I have done the basic design to showcase my vision. I will be glad to see your suggestions https://github.com/T-vK/Electric-Unicycle-Interface/pull/4