Arduino Workshop - Chapter 4 - Using Arrays

preview_player
Показать описание

In this section, we'll look at using arrays to store data, which allows for more powerful variable manipulation.

Core Electronics is your home in Australia for:

Рекомендации по теме
Комментарии
Автор

This level of concision is unbelievable. All the info is clear and lucid, no time wasted, no ambiguity or possibility for misconstruction. it's productions like this that make the world a good place. :)

AeroCraftAviation
Автор

I have had issues understanding arrays ever since I first learned of them. This video cleared it up. Thanks.

BestUnderPressure
Автор

your one of those people who can make a tricky subject very easy to understand, im brand new to arduino, i subbed, thank you!

SparkOutUs
Автор

Really clear and bright explanation, thank you.

alcanceweb
Автор

Thank you for illustrations.
I hope that you do the best.
Iraq/Mosul

marwanal-yoonus
Автор

This was great, thanks for your videos!

ilampaulino
Автор

Cheers man, find all your videos very help.

loganjamesion
Автор

bro your the goat of arduino, thank you so much

mohammadsalama
Автор

I know what you are explainig, but manipulation port is better. Good video, keep on teaching us.

fernando
Автор

I'm trying to return an integer array (with RGB values) from a function, I tried to do it directly as I would do in Java but it gave me the finger.

ComandanteJ
Автор

Loved the video. It was very easy to understand however i have a slight problem mate. I copied your code and it said "invalid pure specifier (only" = 0" is allowed) before numeric constant" in the first line where it is int ledArray.

kisetsujo
Автор

Sir can you please explain the concept of timer and interrrupts

kirankumar-reyg
Автор

"It could be called Sydney", ahh don't we all love a little bit of nationalism in our everyday works lmao. Love your videos btw

royalm
Автор

how to split String to array with delimiter?, example:
my string "12, 34, 22"
delimiter ", "

output i need like: arr[12, 34, 22] access using arr[i]

sorry my english is bad i have you understand my question thanks..

ridharemix
Автор

Could you use the text array to display common text on an LCD. For example, if you had a LCD with say 10 display pages, but the top line of the LCD contained a heading - "SENSOR VALUES", rather than writing "lcd.print(F("SENSOR VALUES")); 10 times for each display page could you just declare this in the top of the program as: char arrayHeading[14] = ("SENSOR VALUES"); and then when writing the code for each LCD display page simply call: lcd.print(arrayHeading);

I am interested to find out opinions on this since, using:

lcd.print("SENSOR VALUES"); << Uses the RAM space on the Arduino which can be limited if you have a lot of text to print plus the arduino has to create it during each loop.

lcd.print(F("SENSOR VALUES")); << Uses to the program memory instead of RAM which is good, but again if you have a complex set of display pages with alot of text, then you could run into program memory space issues as you are still creating "SENSOR VALUES" 10 times the pages but the arduino still has to create the text during each loop.

lcd.print(arrayHeading); << Creating "SENSOR VALUES" only once during the power on, and then re-calling it as many times as you want

-Would I be correct in my assumption that this option would be the most efficient use of memory when creating repetitive text for LCD or even serial printing purposes when you have repetitive text?

Thanks and great video by the way! :-)

Randommusingsvideos
Автор

thanks for the video. it help me understand array better. however I have one question. I saw a array function with 2 index. something like arrayOne[7][3]; how do you access the second index?

xz
Автор

am using 2 multpilxer can i use 2 arrays but excuted in the same exact time ?

EnergySeeker
Автор

Thanks. I only didn't get one thing. You're initialising ledArray as an outputs at 8:05 :
for (int i, i < 10, i++)
Shouldn't it be like i <= 7 ? Just like it is in turning leds on or off. In fact there are 8 elements inside an array... not 10. It might be a remnant of a previous code.

michak
Автор

there is giving an error on first line of code...i tried as you explained but everything halt

MuhammadBilal-ebfh
Автор

how to change part of 2 dimensional array. i doing airsoft project that count point by scanning rfid tag but i don't understand how to remove tag id from array after was scaning and adding point and after next try scan that same tag it will be no more in array (i am green in arduino that is beyond me understanding)

senpuuxd