Arduino Workshop - Chapter 4 - Using Arrays

  Рет қаралды 143,849

Core Electronics

Core Electronics

Күн бұрын

Пікірлер: 62
@AeroCraftAviation
@AeroCraftAviation 4 жыл бұрын
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 6 жыл бұрын
I have had issues understanding arrays ever since I first learned of them. This video cleared it up. Thanks.
@fabiocardoso_dev_br
@fabiocardoso_dev_br 4 жыл бұрын
Really clear and bright explanation, thank you.
@mohammadsalama2662
@mohammadsalama2662 Жыл бұрын
bro your the goat of arduino, thank you so much
@loganjamesion1010
@loganjamesion1010 4 жыл бұрын
Cheers man, find all your videos very help.
@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
@veryverymetta
@veryverymetta 7 жыл бұрын
This was great, thanks for your videos!
@SebastianHernandez-xz5ck
@SebastianHernandez-xz5ck 4 жыл бұрын
Pretty awesome tutorial thanks !
@userou-ig1ze
@userou-ig1ze 4 жыл бұрын
surprisingly good video, thanks
@1828fernando
@1828fernando 6 жыл бұрын
I know what you are explainig, but manipulation port is better. Good video, keep on teaching us.
@SHOHRUX_GAMING
@SHOHRUX_GAMING 3 жыл бұрын
👍👍👍👍👍👍
@sumedhburbure4173
@sumedhburbure4173 7 жыл бұрын
Thank you. This was very helpful :)
@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/
@marwanal-yoonus280
@marwanal-yoonus280 5 жыл бұрын
Thank you for illustrations. I hope that you do the best. Iraq/Mosul
@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.
@MeEncantaKiley
@MeEncantaKiley Жыл бұрын
Can you read a sensor into an array?
@men810
@men810 5 жыл бұрын
Sehr gut Mach bitte weiter
@MrSirPain
@MrSirPain 3 жыл бұрын
Is it possible to make array elements are struct.
@KPOP-un4vb
@KPOP-un4vb 6 жыл бұрын
This is so good! Thank you!
@slimecat_lol
@slimecat_lol Жыл бұрын
you are amazing
@tomsothertube
@tomsothertube 7 жыл бұрын
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.
@royalm8077
@royalm8077 4 жыл бұрын
"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
@kapoioskapoiou8631
@kapoioskapoiou8631 Жыл бұрын
4:11 how to declare arrays
@xz86
@xz86 5 жыл бұрын
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.
@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
@EnergySeeker
@EnergySeeker 3 жыл бұрын
am using 2 multpilxer can i use 2 arrays but excuted in the same exact time ?
@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)
@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.
@kirankumar-re4yg
@kirankumar-re4yg 7 жыл бұрын
Sir can you please explain the concept of timer and interrrupts
@Gintrius
@Gintrius 7 жыл бұрын
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].
@MuhammadBilal-eb6fh
@MuhammadBilal-eb6fh 5 жыл бұрын
there is giving an error on first line of code...i tried as you explained but everything halt
@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..
@bo938
@bo938 5 жыл бұрын
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
@DaCrazyPenguin
@DaCrazyPenguin 3 жыл бұрын
Great video, but how do you activate all the pins at once, using the array?
@ibrahimhamid7443
@ibrahimhamid7443 3 жыл бұрын
tuj se nahi ho pae ga nikal yaha se
@Randommusingsvideos
@Randommusingsvideos 6 жыл бұрын
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");
@kirankumar-re4yg
@kirankumar-re4yg 7 жыл бұрын
super
@d-1381
@d-1381 6 жыл бұрын
Code doesn't work :/
@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
@ThuanDuong-pv3xu
@ThuanDuong-pv3xu 6 жыл бұрын
to : Core Electronics ; How to send an array ( data) between 2 RF24l01 _ardruino modules ? thank
@yarogniew
@yarogniew 5 жыл бұрын
network.write(header, &dataArray, sizeof(dataArray))
@marshalzhang5166
@marshalzhang5166 6 жыл бұрын
What we need
@lvx_ivich4531
@lvx_ivich4531 Жыл бұрын
4:40
@deavl10
@deavl10 7 жыл бұрын
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 6 жыл бұрын
Try digitalWrite(ledArray[i], HIGH);
@alternative01-pd3iu
@alternative01-pd3iu 7 ай бұрын
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
Core Electronics
Рет қаралды 21 М.
Using Arrays with For Loops
17:24
Programming Electronics Academy
Рет қаралды 34 М.
How Strong Is Tape?
00:24
Stokes Twins
Рет қаралды 96 МЛН
СИНИЙ ИНЕЙ УЖЕ ВЫШЕЛ!❄️
01:01
DO$HIK
Рет қаралды 3,3 МЛН
Arduino Workshop - Chapter 4 - Bit Math
17:55
Core Electronics
Рет қаралды 63 М.
LESSON 31: Understanding Arduino Arrays
29:47
Paul McWhorter
Рет қаралды 70 М.
Coding Adventure: Boids
8:35
Sebastian Lague
Рет қаралды 1,6 МЛН
C++ Super Optimization: 1000X Faster
15:33
Dave's Garage
Рет қаралды 332 М.
Using Arrays with Arduino
13:51
Programming Electronics Academy
Рет қаралды 31 М.
Experimenting with Buses and Three-State Logic
18:43
Sebastian Lague
Рет қаралды 629 М.
Hacking a weird TV censoring device
20:59
Ben Eater
Рет қаралды 3,3 МЛН
Arduino Workshop - Chapter 5 - Interrupts
10:46
Core Electronics
Рет қаралды 189 М.
Functions won’t eat arrays whole - Do this simple thing instead!
8:10
Programming Electronics Academy
Рет қаралды 12 М.
How Strong Is Tape?
00:24
Stokes Twins
Рет қаралды 96 МЛН