Arduino Multi Tab Sketch | How to Use Arduino Tabs and Code Splitting in Arduino IDE

preview_player
Показать описание
How to Use Arduino Tabs and Code Splitting in Arduino IDE - A simple Explanation of Code breaking and how to use IDE Tabs

How Arduino IDE Works - Build Process/Behind The Scene
Рекомендации по теме
Комментарии
Автор

This was the single most useful video on coding i have ever seen

nicolasanderson
Автор

Than you very much for this tutorial.
I found it very instructive and easy to follow.
It was also very helpful to have the files to explore myself.
The video moves pretty fast, so if I didn't have prior experience with classes or the files to follow along, it would have been a bit harder.
But i under stand that this isn't to explain all of the intricacies of uses classes.

michaelgrumbach
Автор

A fooking robot just teach me about tabs. Nice

TRDFGDFDHYITE
Автор

Excellent introduction and tutorial. You have my attention! Thank you for the work required to produce this helpful video. Regards.

BGLENN-dptx
Автор

Finally. A straight forward tutorial that easy to follow. Excellent work.

sonicpossum
Автор

Thank you very much. This has given me a much better idea of how to organise my sketches. Keep it up!

haplo
Автор

Thank you for this excellent demonstration and explenation.

raymondbruns
Автор

Great video! Thanks! One question - now in your example you are using HC.HCLoop() function to print numbers on LCD 16x2 screen. Inside your HCLoop function you are using lcd.print function to print the number on LCD scree. How would you change your code to get back in main sketch number? E.g. float Distance = HC.DistanceCm; ?


Thank you for answer!
Best regards,
Valters

wotesi
Автор

Are they static by default? Or can you make instances of the classes?

TheVideoVolcano
Автор

hi i just started arduino! this is very interesting do u still have the code with you? possible to share to me please?

daryl
Автор

it is very useful video
exellent work
hi
if we downloded code from arduino then there we get different types of file such as .c .h then my question is how we can program the arduino

nickwild
Автор

Great tutorial. How can I use a library in class? Thanks

dmixer
Автор

I have a question: Once I have created my tabs, can I connect those tabs to other sketches?

angelcru
Автор

When I get an error for a missing file such as kick_int8.h No such file or directory, I add the needed file in a tab. But it is never found. I keep on getting the same error even though it is in the sketch. I have tried to resave. Tried to move the files to the arduino sketch folder. Nothing works. Anyone know why this is? Drives me crazy I can see it right there. Why does the IDE not compile it?

mikelee
Автор

Feels like I'm watching an askreddit video with that computerized voice

ujurak
Автор

One more question about content of your example - let's assume you want to use 2 PIR sensors, how would you modify your code to read values from both? Is it like this:


void setup(){


PIR.PIRSetup(9, 6); //this is the part of your original code
PIR1.PIRSetup(8, 7); //is this correct?
}


//and then into loop part
void loop(){


PIR.PIRLoop();
PIR1.PIRLoop():

}


Would it work this way?


Thank you for answer!


Best regards,
Valters

wotesi
Автор

Thanks for the video. It answered some questions I had - most times you see both a .h and .cpp file being created to expand Arduino sketches. I guess that is the formal way to do things but for limited sized projects [by definition this must be so for micro controllers] every class then adds another 2 files. I didnt know you could have everything in the header file. One request - in the video you say the files are available for download but I don't see where from. Can you point me in the right direction. Thanks

saturdayscience
visit shbcf.ru