Тёмный

Arduino Workshop - Chapter Two - Using Serial Monitor 

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

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

 

17 сен 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 16   
@catiru510
@catiru510 Месяц назад
my serial monitor says "not connected. select a board to connect automatically" how can i fix this??
@ildisonorevolesannita1026
@ildisonorevolesannita1026 3 года назад
sorry for my English does the the serial monitor function only when arduino is connected with the PC?
@denhafiz1860
@denhafiz1860 2 года назад
Yes
@batticha462
@batticha462 5 лет назад
why you don't use the auto format option after copying the sketch ?
@onkarkumar9247
@onkarkumar9247 6 лет назад
Can you tell me how can I erase the old data from my Arduino Uno board to upload a new one
@prathibapotdar2250
@prathibapotdar2250 4 года назад
No need ! Upload new code u want👍👍👍
@babyyoda756
@babyyoda756 4 года назад
Can't u use ctrl+t to do the indentation?
@ryanbarrera2595
@ryanbarrera2595 6 лет назад
Thanks for the upload
@martinspence4783
@martinspence4783 5 лет назад
i have been watching your workshop it is great i am having a problem when i try to manage my library or upload to my library it keep saying cc.arduino.contribuion.librery please can you help
@daveklebt7732
@daveklebt7732 5 лет назад
Ah Crap, I read that title as using Two Serial ports, since At Mega has two ports. can I shunt the data of one Serial.read() to print that out in the second Serial port and view that in the serial monitor? It be helpful to he able to see the incoming data, while using it...
@hissenguinho
@hissenguinho 6 лет назад
For some reason my serial monitor doesn't make a new line :( do you know the reason?
@mouneermahomed7507
@mouneermahomed7507 6 лет назад
Hissenguinho try Serial.println(); instead of Serial.print();
@generalpackagingequipmentc3678
@generalpackagingequipmentc3678 3 года назад
Very helpful.
@jettanat1351
@jettanat1351 2 года назад
int ledPin = 3; int buttonPin = 2; int potPin = A0; void setup() { // setup pin modes pinMode(ledPin, OUTPUT); pinMode(buttonPin, INPUT_PULLUP); pinMode(potPin, INPUT); // initialise serial port with baud rate of 9600 Serial.begin(9600); } void loop() { // read the state of buttonPin and store it as buttonState (0 or 1) int buttonState = digitalRead(buttonPin); // read the value of the pot, divide it by 4, and store it as potValue int potValue = analogRead(potPin); int filteredPotValue = potValue / 4; // turn led on with the value of potValue analogWrite(ledPin,filteredPotValue); // print the value of the button Serial.print("Button: "); Serial.print(buttonState); Serial.print(" "); // print the value of the pot Serial.print("Pot: "); Serial.print(potValue); Serial.print(" "); // print the value of the pot / 4 with a line return at the end Serial.print("Pot/4: "); Serial.println(filteredPotValue); }
Далее
Arduino Workshop - Chapter Three - Overview
0:33
Просмотров 18 тыс.
ВЛАД А4 СКАТИЛСЯ
09:34
Просмотров 352 тыс.
Using Serial.read() with Arduino | Part 1
10:30
Просмотров 134 тыс.
Arduino Workshop - Chapter Two - Using Analogue Pins
20:19
Arduino Workshop - Chapter 5 - Interrupts
10:46
Просмотров 185 тыс.
How To Use Arduino's Serial Plotter
8:08
Просмотров 47 тыс.
Arduino - Send Commands with Serial Communication
17:23
Arduino Workshop - Chapter Three - Creating Functions
10:35
How 3 Phase Power works: why 3 phases?
14:41
Просмотров 988 тыс.
Arduino Workshop - Chapter 4 - Using EEPROM
8:46
Просмотров 122 тыс.