Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Basic embedded system programming.doc
Скачиваний:
0
Добавлен:
01.07.2025
Размер:
723.46 Кб
Скачать

IsDirectory(); //

openNextFile(); //

rewindDirectory(); //

autoscroll(); //moves all the text one space to the left each time a letter is added

noAutoscroll(); //turns scrolling off

SD.begin(); //it initializes the secure digit card memory

SD.exists(); //the secure digit card memory exists

SD.mkdir(); //it makes the direction of the secure digit card memory

SD.open(); // the secure digit card memory can open

SD.remove(); // the secure digit card memory can remove

SD.rmdir(); // it removes the direction of the secure digit card memory

SDHC.begin(); //it initializes the secure digit high capacity card memory

SDHC.exists(); //the secure digit high capacity card memory exists

SDHC.mkdir(); //it makes the direction of the secure digit high capacity card memory

SDHC.open(); //the secure digit high capacity card memory can open

SDHC.remove(); //the secure digit high capacity card memory can remove

SDHC.rmdir(); //it removes the direction of the secure digit high capacity card memory

Ethernet.begin(); // it initializes the Ethernet library and network settings.

Ethernet.localIP(); // it obtains the IP-address of the Ethernet shield. Useful when the address is auto assigned through Dynamic Host Configuration Protocol.

Ethernet.maintain(); // it allows for the renewal of Dynamic Host Configuration Protocol leases.

Keyboard.begin(); //it starts emulating a keyboard connected to a computer

Keyboard.end(); //it stops the keyboard emulation to a connected computer

Keyboard.press(); //it functions as if a key were pressed and held on your keyboard

Keyboard.print(); //it must be called after initiating of the print characters

Keyboard.println(); //it must be called after initiating of the print data

Keyboard.release(); //it functions for more information

Keyboard.releaseAll(); //it functions for additional information

Keyboard.write(); //it sends a keystroke to a connected computer

Mouse.begin(); // it begins emulating the mouse connected to a computer

Mouse.click(); // it sends a momentary click to the computer at the location of the cursor

Mouse.end(); // it stops emulating the mouse connected to a computer

Mouse.move(); // it moves the cursor on a connected computer

Mouse.press(); // it sends a button press to a connected computer

Mouse.release(); // it sends a message that a previously pressed button ...

Mouse.isPressed(); // it checks the current status of all mouse buttons, and reports if any are pressed or not

scrollDisplayLeft(); // it scrolls the contents of the liquid crystal display (text and cursor) one space to the left

scrollDisplayRight(); // it scrolls the contents of the liquid crystal display (text and cursor) one space to the right

lcd.begin(); //it initializes the interface to the Liquid Crystal display screen

lcd.end(); // it stops the timer and frees the pin of the liquid crystal display, chosen for the sampling.

lcd.print(); //it prints text or characters to the Liquid Crystal display screen

lcd.println(); // it prints data to the liquid crystal display

lcd.setCursor(); //It allows you to control Liquid Crystal displays that are compatible with the ...

lcd.createChar(); //it creates the characters on the liquid crystal display

lcd.read(); // it reads incoming data of liquid crystal display

lcd.write(); //it writes binary data to the liquid crystal display

lcd.autoscroll(); // it moves all the text of liquid crystal display, one space to the left each time a letter is added

lcd.noAutoscroll(); // it turns off the scrolling of the liquid crystal display

lcd.clear(); //it clears the Liquid Crystal display screen

lcd.init(); // initialization of liquid crystal display

lcd.backlight(); //it turns on the light of liquid crystal display

lcd.display(); //it turns on the Liquid Crystal display

lcd.noDisplay(); //it turns off the Liquid Crystal display

lcd.blink(); //it displays the blinking of liquid crystal display cursor

lcd.noBlink(); //it turns off the blinking Liquid Crystal display cursor

lcd.leftToRight(); //it allows to shift liquid crystal display from left to right

lcd.rightToLeft(); //it allows to shift liquid crystal display from right to left

OzOled.clearDisplay(); //it clears the screen and set start position to top left corner of light-emitting diode display

OzOled.setNormalDisplay(); //it sets light-emitting diode display to normal mode (i.e non-inverse mode)

OzOled.setPageMode(); //it sets addressing mode to Page Mode

OzOled.printString(“”); //it prints the strings on the light-emitting diode display

OzOled.printNumber(); //it prints the numbers on the light-emitting diode display

OzOled.setHorizontalMode(); //it Sets addressing mode to Horizontal Mode of the light-emitting diode display

OzOled.printNumber((long)123, 0, 0); // it prints the numbers on the light-emitting diode display

OzOled.init(); //it initializes Oscar light-emitting diode display

OzOled.drawBitmap(OscarLogo, 0, 0, 16, 8); //

OzOled.setActivateScroll(Scroll_Left, 0, 7,Scroll_5Frames); //it sets the properties of Horizontal Scroll

play(); //it plays multimedia track

stop(); //it stops multimedia track

next(); //it plays next multimedia track

Data types of variables

var - your variable name;

val - the value you assign to that variable.

void var = val; //

boolean var = val; //

char var = val; //

unsigned char var = val; //

byte var = val; //

int var = val; //

unsigned int var = val; //

word var = val; //

long var = val; //

unsigned long var = val; //

short var = val; //

float var = val; //

double var = val; //

string var = val; //

char array var = val; //

String var = val; //

array var = val; //

lcd.setCursor(0, 0); // top left

lcd.setCursor(15, 0); // top right

lcd.setCursor(0, 1); // bottom left

lcd.setCursor(15, 1); // bottom right

Соседние файлы в предмете [НЕСОРТИРОВАННОЕ]