024EN Arduino Piano 4 - Software Data Structures in C/C++ - integer and pointers

Аватар автора
Python профессионал
Building an Arduino piano part 4 - software, data structures in C/C++ - integer numbers and pointers In preparation for the actual software code, the data structures in C/C++ for signed and unsigned integers and the pointers are discussed in this part. The use of the asterisk (*) and the & character is explained. Finally, pointer arithmetic is discussed in detail. 0:00 introduction 0:22 content 0:48 int8_t, uint8_t, int16_t, uint16_t, int32_t, uint32_t 2:36 int8_t in detail 4:29 uint8_t in detail 4:50 value ranges for int8_t..int32_t, uint8_t..uint32_t 4:58 nibble and hex numbers 7:01 program code - general notes 7:47 output of the value ranges with the Arduino 10:01 pointers and their application 10:35 pointer in variable declaration 11:20 apply pointers 13:26 pointer - sample code on the Arduino 16:34 pointer arithmetic with pointer to 8-bit number 19:03 8-bit number pointer arithmetic on the Arduino 21:38 pointer arithmetic with pointer to 16-bit number 24:08 16-bit number pointer arithmetic on the Arduino 28:12 notes about the software in the video description 28:45 end Software: LOWERArduino.hBIGGER LOWERstdint.hBIGGER Stopp do {} while( true ) Print(x) Serial.print(x) Println(x) Serial.println(x) void setup() { Serial.begin(2000000); // Must match with "Baud" on Monitor program } // setup void OutIntHex( char Message[], int8_t Bytes, void *Number ) { char IntToHex[16] = {&&&&&&&&&&&&&&&'F'}; uint8_t *N; N = Number;...

0/0


0/0

0/0

0/0