Arrays Part 3 - Using Arrays to Control Arduino Pins

  Рет қаралды 5,628

Circuit Crush

Circuit Crush

Күн бұрын

Пікірлер: 13
@EljayRadiology
@EljayRadiology 2 жыл бұрын
Love the way you explained array indexing!
@CircuitCrush
@CircuitCrush 2 жыл бұрын
Thanks a bunch!
@sennabullet
@sennabullet 8 ай бұрын
A good introduction for beginners! Thanks for your effort to make this video.
@CircuitCrush
@CircuitCrush 8 ай бұрын
Glad it was helpful!
@CircuitCrush
@CircuitCrush 8 ай бұрын
Glad it was helpful!
@kemaketseforkssebitiela3089
@kemaketseforkssebitiela3089 Жыл бұрын
This is too good and informative
@CircuitCrush
@CircuitCrush Жыл бұрын
I totally appreciate that!
@naboulsikhalid7763
@naboulsikhalid7763 9 ай бұрын
this is not simple, as you mentioned when you want to use an array, you can't use it without for loop(i, i , i++) They all go hand in hand, so try to do better. thank you
@CircuitCrush
@CircuitCrush 9 ай бұрын
The point of this video is to teach the basics on arrays. The next video in the series does use for loops.
@richardcrackel1521
@richardcrackel1521 11 ай бұрын
I dont understand the benefit of using an array, vs just initializing individual variables.
@Thats_Mr_Random_Person_to_you
@Thats_Mr_Random_Person_to_you 11 ай бұрын
This is purely a first principles 'look' at using an array for this use. Arrays can become more complex in usage with other concepts like loops etc.. You can make code work with a totally arbitrary array length such that you don't need to edit 100 line when you add an additional element to the array. You can made arrays multidimensional so each element of an array is itself an array of values (that would be called a 2d array, and you can keep going with 3d arrays etc..) In a simple case as shown, there is no difference / benefit. But in order to do the complex, you need to start with the basic.
@CircuitCrush
@CircuitCrush 11 ай бұрын
That's right, the point was to offer an introduction to arrays and get the basics of how they work.
@jo0ls
@jo0ls 11 ай бұрын
On most chips it’s a false economy to use byte. You will load your byte on a 32 bit bus and maybe store it in a 128 bit register on the CPU to do math on it, so it just uses the same space as an integer anyway. The compiler will probably ignore you and use an integer. But yeah, I guess on an Arduino you can probably use Byte.
Using Arrays with For Loops
17:24
Programming Electronics Academy
Рет қаралды 33 М.
Using Arrays with Arduino
13:51
Programming Electronics Academy
Рет қаралды 31 М.
Как Я Брата ОБМАНУЛ (смешное видео, прикол, юмор, поржать)
00:59
Why no RONALDO?! 🤔⚽️
00:28
Celine Dept
Рет қаралды 115 МЛН
УДИВИЛ ВСЕХ СВОИМ УХОДОМ!😳 #shorts
00:49
黑天使只对C罗有感觉#short #angel #clown
00:39
Super Beauty team
Рет қаралды 31 МЛН
LESSON 31: Understanding Arduino Arrays
29:47
Paul McWhorter
Рет қаралды 69 М.
Using for Loops with Arrays in Arduino
8:41
Circuit Crush
Рет қаралды 1,2 М.
Arduino MASTERCLASS | How to Use Arduino Libraries PART 7
14:26
Programming Electronics Academy
Рет қаралды 42 М.
Controlling a BIG LED Matrix?! How Shift Registers work! || EB#39
12:33
Using random numbers with Arduino
13:02
Programming Electronics Academy
Рет қаралды 58 М.
Optimizing Arduino Code: no setup(), no loop() ⛔
9:27
Wokwi
Рет қаралды 210 М.
Как Я Брата ОБМАНУЛ (смешное видео, прикол, юмор, поржать)
00:59