본문 바로가기

Programing

맥의 capslock 키 한영전환을 윈도우에서 사용하기 맥의 capslock 한영전환을 사용하다가 윈도우에서 한영전환이 너무 불편해서 자료를 찾아보니 오토핫키를 이용한 방법이 있어 적용하였다 그런데 기존에 돌아다니는 코드들은 버튼을 땠을때 누르고 있던 시간을 기준으로 한영전환인지 capslock인지를 판단하기 때문에 꼐속 누르고 있을 경우 동작하지 않는 문제점이 상당히 불편하다고 느껴져서 수정하게 되었다. 마음대로 코드 가져가 사용하셔도되지만 가능하시다면 감사의 댓글 달아주시면 감사하겠습니다. 저는 exe 파일로 만들어 시작프로그램에 넣어 두었습니다. shell:startup global TIMER := 0 global STATE := 0 capslock Up:: if(STATE = 1) { STATE := 0 ;MsgBox, CAP UP Send, {vk1..
개발 보드 모델명 PCA10040 : nRF52832 PCA10040e : nRF52810 PCA10056 : nRF52840 PCA10056e : nRF52811 PCA10059 : nrf52840 Dongle PCA10100 : nRF52833 PCA10100e : nRF52820 정확하지 않음
안드로이드 SDK 타겟 버전 확인 방법 - File -> Project Sturcture -> Modules -> Default Config Target SDK Version, Min SDK Version 변경 혹은 Gradle Scripts bulid.gradle(Module: Bluefruit_LE_Connect_Android_V2.app) 7~8 줄 minSdkVersion 23 targetSdkVersion 29
Adafruit Bluefruit 수정 1. App 아이콘 수정 - app -> res -> mipmap MI MIX의 경우 xxhdpi 2. splash 화면 수정 - app -> res -> drawable -> splash_screen.xml 14 : android:src="@drawable/info_adafruit_logo" /> 14 : android:src="@drawable/info_kitech_logo" /> 3. 뒷쪽 배경 아이콘 변경 - Bluefruit_LE_Connect_Android_V2\app\src\main\res\drawable-xhdpi\\scanner_adaflower.png - app -> res -> layout -> fragmain.xml 16 : android:src="@drawable/scanner_a..
Adafruit Bluefruit 아이콘 변경 Android Stuido 경로 res -> mipmap -> ic_launcher -> ic_launcher.png 폴더 경로 Bluefruit_LE_Connect_Android_V2\app\src\main\res\mipmap-hdpi 저의 경우 시연용 폰이 사용하는 아이콘을 찾아 그 아이콘만 변경 mipmap-xxhdpi -> ic_launcher_foreground
Adafruit Bluefruit 앱 이름 변경 Gradle Scripts bulid.gradle(Module: Bluefruit_LE_Connect_Android_V2.app) 13 줄 resValue "string", "app_name", "Bluefruit Connect" 변경
Adafruit Bluefruit 수정을 위한 기본 설정 저는 안드로이드 프로그램을 잘 할 줄 몰라서 최대한 예제 코드를 활용하여 조금씩 수정하려고 합니다. 1. Android Studio 설치 2. 예제 소스 다운로드 - 2021-04-01 기준 V2가 최신임 github.com/adafruit/Bluefruit_LE_Connect_Android_V2 adafruit/Bluefruit_LE_Connect_Android_V2 Bluefruit LE Connect Android source code (V2). Contribute to adafruit/Bluefruit_LE_Connect_Android_V2 development by creating an account on GitHub. github.com 3. Android Studio로 다운받은 프로젝트 실행..
Nordic BLE Mesh 예제 분석 모듈 1개로 테스트 할때 1. Connect to the device with the interactive console: python D:\Nordic\SDK\nrf5_SDK_for_Mesh_v4.0.0_src\scripts\interactive_pyaci\interactive_pyaci.py -d COM6 —no-logfile 2. Send a test `Echo` command to see that the device is connected: send(cmd.Echo("hello world")) TX : 0C 02 68 65 6C 6C 6F 20 77 6F 72 6C 64 // TX : 0C 02 hello world RX : 0C 82 68 65 6C 6C 6F 20 77 6F 72 6C 64 /..