$ vlc VLC media player 3.0.8 Vetinari (revision 3.0.8-0-gf350b6b5a7) [00417b48] main libvlc: 기본 인터페이스로 vlc 실행. vlc 인터페이스 없이 사용하려면 'cvlc' 을 사용하세요. [0048a268] main playlist: playlist is empty [92502690] egl_x11 gl error: cannot select OpenGL API libGL error: failed to create dri screen libGL error: failed to load driver: exynos
$ vlc VLC media player 3.0.8 Vetinari (revision 3.0.8-0-gf350b6b5a7) [00448b48] main libvlc: 기본 인터페이스로 vlc 실행. vlc 인터페이스 없이 사용하려면 'cvlc' 을 사용하세요. Unable to find an X11 visual which matches EGL config 9 세그멘테이션 오류
#include <LiquidCrystal.h>
#include <Servo.h>
// initialize the library with the numbers of the interface pins
LiquidCrystal lcd(12, 11, 5, 4, 3, 2);
int potpin = 0;
int raw;
int val;
Servo myservo;
void setup() {
myservo.attach(9);
// set up the LCD's number of columns and rows:
lcd.begin(16, 2);
// Print a message to the LCD.
lcd.leftToRight();
// lcd.setCursor(0, 0);
// lcd.print("T:-10C H:100% R:50% PM12");
//
// lcd.setCursor(0, 1);
// lcd.print("PM1:100 PM25:100");
}
void loop() {
char str[20];
raw = analogRead(potpin);
val = map(raw, 0, 1023, 0, 180);
sprintf(str, "%4d %3d", raw, val);
lcd.setCursor(0, 0);
lcd.print(str);
myservo.write(val); // sets the servo position according to the scaled value
delay(15);
}
#include <LiquidCrystal.h>
// initialize the library with the numbers of the interface pins
LiquidCrystal lcd(12, 11, 5, 4, 3, 2);
int potpin = 0;
int val;
void setup() {
// set up the LCD's number of columns and rows:
lcd.begin(16, 2);
// Print a message to the LCD.
lcd.leftToRight();
}
void loop() {
char str[20];
val = analogRead(potpin);
// val = map(val, 0, 1023, 0, 180);
sprintf(str, "%5d", val);
lcd.setCursor(0, 0);
lcd.print(str);
}