int byte_int = 0; byte[] rcvByteFinal = new byte[10]; // RF카드 10자리 Byte 세팅 private void serial_DataReceived(object sender, SerialDataReceivedEventArgs e) { try { if (!serial.IsOpen) return; // serial 오픈 확인. int bytes = serial.BytesToRead; byte[] buffer = new byte[bytes]; byte[] rcvByte = new byte[bytes]; serial.Read(buffer, 0, bytes); Array.Copy(buffer, 0, rcvByte, 0, bytes); // buffer 0 위치부터 by..

1. sudo nano pishutbtn.py ---------------------------------------------------------------------- #!/usr/bin/python # shutdown/reboot(/power on) Raspberry Pi with pushbutton import RPi.GPIO as GPIO from subprocess import call from datetime import datetime import time # pushbutton connected to this GPIO pin, using pin 5 also has the benefit of # waking / powering up Raspberry Pi when button is pre..
var request = WebRequest.Create("Https://~~~~"); Error: TrustFailure (Authentication failed, see inner exception.) Let's Encrypt Root CA 인증이 2021-09-30 만료되었음. Let's Encrypt https 인증 받는 사이트의 Mono .Net Core 서비스는 Linux 에서 인증오류가 발생함. Mono applications cannot connect to a website using an SSL certificate issued by Let's Encrypt if their trust store includes the old DST Root CA X3 certificate that exp..
현재 백라이트 밝기 값 확인 cat /sys/class/backlight/rpi_backlight/brightness 백라이트 확인 cat /sys/class/backlight/rpi_backlight/bl_power 0이면 켜짐 1이면 꺼짐. 백라이트 밝기 조절 sudo sh -c 'echo "128" > /sys/class/backlight/rpi_backlight/brightness' 또는 sudo bash -c "echo 100 > /sys/class/backlight/rpi_backlight/brightness" 밝기 값: 0~255 (위 예제는 128로 설정)

Linux SSH 한개의 개인키로 다른 PC에서 접속하기 조건: Linux에 SSH를 구성하였고 접속을 위한 SSH 개인키 접속 가능한 상태 테스트는 맥북 에서 윈도우로 개인키를 복사하고 윈도우 PUTTY에서 접속 1. Putty Key Generator 에서 복사해온 개인키를 Load한다. 2. 복사해온 개인키를 선택하고, 3. 개인키 만들때 입력했던 비밀번호를 입력한다. 4. 불러온 개인키를 다시 저장한다. 5. 저장한 개인키를 SSH - Auth 에서 불러오고 6. 접속IP를 입력하고 Open 한다. 7 Putty 터미널 에서 ID 비밀번호를 입력하고 접속한다.
pyProgram.desktop 1 2 3 4 5 6 7 [Desktop Entry] Type=Application Encoding=UTF-8 Name=Python Sample Path=/home/pi/python_test Exec=sh run_script.sh Terminal=true 라즈베리파이 데스크탑 아이콘 만들기(Raspberry Pi Desktop icon) : 네이버 블로그 (naver.com) 라즈베리파이 데스크탑 아이콘 만들기(Raspberry Pi Desktop icon) 윈도우를 사용할 때에는 바탕화면의 아이콘을 더블클릭하는것 만으로 프로그램을 실행할 수 있습니다. 하지... blog.naver.com 라즈베리파이 데스크탑 아이콘 만들기(Raspberry Pi Desktop icon)..
라즈베리파이4 부팅 프로그램 자동실행 nano run_script.sh #!/bin/bash echo "run script" python3 /home/pi/my_code.py read reply sh run_script.sh sudo chmod +x run_script.sh sudo nano /etc/xdg/lxsession/LXDE-pi/autostart lxterminal -e ~/run_script.sh [RPI] 라즈베리파이 부팅시 커맨드 실행, 쉘 스크립트 실행 (tistory.com)
Xamarin.iOS 배포시 에러 Missing Info.plist value. The Info.plist key 'BGTaskSchedulerPermittedIdentifiers' must contain a list of identifiers used to submit and handle tasks when 'UIBackgroundModes' has a value of 'processing'. For more information, refer to the Information Property List Key Reference at https://developer.apple.com/library/ios/documentation/General/Reference/InfoPlistKeyReference/Int..
- Total
- Today
- Yesterday
- Xamarin SMS OTP Send
- ssl_client_socket_impl.cc
- Xamarin Firebase Phone Auth
- WPF Textbox
- Xamarin.Ios Firebase Phone Auth
- Windows IIS FTP 디렉토리 목록 오류
- c# Encrypt / Decrypt
- Xamarin Firebase Phone User Add
- C# LINQ Left join
- Xamarin reCAPTCHA
- FileStream Add Byte
- Xamarin.Forms
- SkiaSharp
- Xamarin.Ios Firebase Phone User Add
- WPF Excel Export Microsoft.Office.Interop 성능향상(열 기준으로 복사)
- WPF Scrollviewer in ScrollViwer
- WPF Datagrid Cell Value Change
- Embeded 한글Font적용
- 서버 수준의 URN 필터
- Microcharts
- Label Text LineBreak in Xaml
- ClickOnce 인증서 인증기간 변경
- Xamarin.Ios Firebase Phone SMS OTP Send
- 연산자 뒤에 피연산자가 없습니다.
- Linux SSH Multi Computer Join
- 암호 마스터키
- Entry '' has empty native path
- GetCellContent CheckBox Value
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 |