Тёмный

Arduino Workshop - Chapter 4 - Using Arrays 

Core Electronics
Подписаться 119 тыс.
Просмотров 140 тыс.
50% 1

The full tutorial for this video (with images and step-by-step tips) core-electronics.com.au/tutor...
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:
Arduino core-electronics.com.au/ardui...

Опубликовано:

 

7 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 64   
@AeroCraftAviation
@AeroCraftAviation 3 года назад
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. :)
@BestUnderPressure
@BestUnderPressure 5 лет назад
I have had issues understanding arrays ever since I first learned of them. This video cleared it up. Thanks.
@alcanceweb
@alcanceweb 4 года назад
Really clear and bright explanation, thank you.
@SparkOutUs
@SparkOutUs 3 года назад
your one of those people who can make a tricky subject very easy to understand, im brand new to arduino, i subbed, thank you!
@ibrahimhamid7443
@ibrahimhamid7443 2 года назад
chup be pagal ki bachi
@loganjamesion1010
@loganjamesion1010 4 года назад
Cheers man, find all your videos very help.
@ilampaulino
@ilampaulino 6 лет назад
This was great, thanks for your videos!
@KPOP-un4vb
@KPOP-un4vb 5 лет назад
This is so good! Thank you!
@marwanal-yoonus280
@marwanal-yoonus280 4 года назад
Thank you for illustrations. I hope that you do the best. Iraq/Mosul
@SebastianHernandez-xz5ck
@SebastianHernandez-xz5ck 4 года назад
Pretty awesome tutorial thanks !
@sumedhburbure4173
@sumedhburbure4173 7 лет назад
Thank you. This was very helpful :)
@userou-ig1ze
@userou-ig1ze 3 года назад
surprisingly good video, thanks
@mohammadsalama2662
@mohammadsalama2662 Год назад
bro your the goat of arduino, thank you so much
@1828fernando
@1828fernando 6 лет назад
I know what you are explainig, but manipulation port is better. Good video, keep on teaching us.
@aman_gupta9855
@aman_gupta9855 4 года назад
Thank u such a good explanation
@Core-Electronics
@Core-Electronics 4 года назад
You're most welcome - we aim to help makers learn new skills
@ComandanteJ
@ComandanteJ 6 лет назад
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.
@men810
@men810 4 года назад
Sehr gut Mach bitte weiter
@kisetsujo251
@kisetsujo251 3 года назад
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.
@itsaberry
@itsaberry 7 месяцев назад
you are amazing
@Randommusingsvideos
@Randommusingsvideos 5 лет назад
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");
@ridharemix4259
@ridharemix4259 6 лет назад
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..
@EnergySeeker
@EnergySeeker 3 года назад
am using 2 multpilxer can i use 2 arrays but excuted in the same exact time ?
@kirankumar-re4yg
@kirankumar-re4yg 6 лет назад
Sir can you please explain the concept of timer and interrrupts
@xz86
@xz86 4 года назад
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?
@iank2615
@iank2615 4 года назад
That's a matrix. The first number is rows, the second is columns.
@SHOHRUX_GAMING
@SHOHRUX_GAMING 2 года назад
👍👍👍👍👍👍
@michak9265
@michak9265 4 года назад
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
@Core-Electronics
@Core-Electronics 4 года назад
Good question Michał. If its possible, try posting this question in the Arduino section of our forum? One of our support staff or members of our makers community may know the reason why it was coded in this manner. forum.core-electronics.com.au/
@royalm8077
@royalm8077 3 года назад
"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
@senpuuxd1032
@senpuuxd1032 Год назад
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)
@MuhammadBilal-eb6fh
@MuhammadBilal-eb6fh 4 года назад
there is giving an error on first line of code...i tried as you explained but everything halt
@kirankumar-re4yg
@kirankumar-re4yg 6 лет назад
super
@MrSirPain
@MrSirPain 2 года назад
Is it possible to make array elements are struct.
@MeEncantaKiley
@MeEncantaKiley Год назад
Can you read a sensor into an array?
@tomsothertube
@tomsothertube 6 лет назад
The FOR loop in setup is incorrect, it should be for(int i; i
@kamalkhatri3322
@kamalkhatri3322 5 лет назад
i was thinking same too
@williamgantt2470
@williamgantt2470 4 года назад
I’m trying to understand why he put the resistors on the ground side of the LEDs. Is that a mistake?
@Motorman2112
@Motorman2112 Год назад
@@williamgantt2470 No, it works the same way.
@ThuanDuong-pv3xu
@ThuanDuong-pv3xu 5 лет назад
to : Core Electronics ; How to send an array ( data) between 2 RF24l01 _ardruino modules ? thank
@yarogniew
@yarogniew 4 года назад
network.write(header, &dataArray, sizeof(dataArray))
@bo938
@bo938 4 года назад
Hi i tried to run the code on my arduino board Led blinks only one time it doesn't repeat High and Low again and again int ledArray[] = {3,4,5,6,7,8}; void setup() { for(int i; i
@iank2615
@iank2615 4 года назад
Your first loop is just switching the LED on five times, and the second is switching it off five times. So you are just switching it on and then off. The HIGH and LOW commands need to be in the same loop. Try: void loop () { for (int i; i
@marshalzhang5166
@marshalzhang5166 6 лет назад
What we need
@deavl10
@deavl10 6 лет назад
I basically did the same thing with my having different ports and having 3 pins in my array. My set up is good since it was working perfectly with several other programs. Yet it doesn't work with this program. I have no errors when uploading either. Where have i gone wrong since my lights do not turn on at all. int ledArray[] = {7,8,9,}; int delayTime = 250; void setup() { for (int i; i
@m.v.8976
@m.v.8976 5 лет назад
Try digitalWrite(ledArray[i], HIGH);
@leonvonmoltke7923
@leonvonmoltke7923 4 года назад
why is there no index out of bounds error in the void setup?
@Core-Electronics
@Core-Electronics 4 года назад
Intriguing question - if you can post it on our forum, we have support staff that are great with coding issues. forum.core-electronics.com.au/
@leonvonmoltke7923
@leonvonmoltke7923 4 года назад
@@Core-Electronics Thanks I will
@Gintrius
@Gintrius 6 лет назад
I think first array is incorrect - array index starts from 0 not 1 so it shoud be 3 not 4
@xanh350
@xanh350 6 лет назад
you are correct, he either should put there [3] or keep it as [4[ but then add another element into his array curly bracket.
@stevebrockway459
@stevebrockway459 5 лет назад
Yes, the index starts at 0, but the declaration is how many elements are in the array. Then a number is used to index the array. Int ArrayOne[4] has four elements accessed ArrayOne[0] to ArrayOne[3].
@kapoioskapoiou8631
@kapoioskapoiou8631 Год назад
4:11 how to declare arrays
@d-1381
@d-1381 5 лет назад
Code doesn't work :/
@lvx_ivich4531
@lvx_ivich4531 5 месяцев назад
4:40
@DaCrazyPenguin
@DaCrazyPenguin 2 года назад
Great video, but how do you activate all the pins at once, using the array?
@ibrahimhamid7443
@ibrahimhamid7443 2 года назад
tuj se nahi ho pae ga nikal yaha se
@williamgantt2470
@williamgantt2470 4 года назад
I don’t understand why he wired the resistors to ground instead of to the pins. Wouldn’t that limit the current after it had already passed through the leds?
@Core-Electronics
@Core-Electronics 4 года назад
That's a great question - if you post that on our forum, someone in our team ought able to answer that and many others. coreelec.io/forum
@alternative01-pd3iu
@alternative01-pd3iu 17 дней назад
imagine you can just int a = digitalWrite a(led, HIGH);
@chandanaelectronics782
@chandanaelectronics782 4 года назад
hello friend, how are you. i'm chandana from sri lanka. can you help me for arduino. plese send your email and other contact. thank you
@tthorner
@tthorner 5 лет назад
ArrayOne[4] should be ArryOne[3]
@stevebrockway459
@stevebrockway459 5 лет назад
Why?
Далее
Arduino Workshop - Chapter 4 - Operators
17:20
Просмотров 20 тыс.
LESSON 31: Understanding Arduino Arrays
29:47
Просмотров 68 тыс.
skibidi toilet zombie universe 34 ( New Virus)
03:35
Просмотров 2,6 млн
100❤️
00:19
Просмотров 2 млн
POLI зовет Газана
00:12
Просмотров 588 тыс.
Arduino Workshop - Chapter 5 - Interrupts
10:46
Просмотров 182 тыс.
Arduino Workshop - Chapter Three - Creating Functions
10:35
Using Arrays with For Loops
17:24
Просмотров 31 тыс.
Arduino Workshop - Chapter 4 - Using EEPROM
8:46
Просмотров 121 тыс.
This Is Why Python Data Classes Are Awesome
22:19
Просмотров 794 тыс.
Arduino Event-Based Programming
26:12
Просмотров 226 тыс.
skibidi toilet zombie universe 34 ( New Virus)
03:35
Просмотров 2,6 млн