LQFP32

From RoboWiki
Revision as of 13:53, 20 October 2022 by Robot (talk | contribs) (Created page with "=== Exercises with LQFP32 Mini EVB === Configuration of Arduino IDE: <youtube>1t0vyJ9o7mk</youtube> Connect the device to USB port, open device manager (WIN-X, and select D...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Exercises with LQFP32 Mini EVB

Configuration of Arduino IDE:

Connect the device to USB port, open device manager (WIN-X, and select Device Manager), open "Ports", check which serial port has been created for the device:

Serial port device manager.png

1. Test serial port communication (01_serial.ino):

void setup() {
  Serial.begin(9600);
}

int i = 0;
void loop() {
  Serial.print("Hello ");
  Serial.println(i++);
  delay(1000);
}

2. Test internal LED flashing (02_led_flash.ino):

#define LED 13
void setup() {
  pinMode(LED, OUTPUT);
}

void loop() {
  digitalWrite(LED, HIGH);
  delay(500);
  digitalWrite(LED, LOW);
  delay(100);
}