본문 바로가기

Home Cockpit/DIY7

[MSFS-DIY] pyton simconnect 연결 예 먼저 simconnect 설치가 필요하다. https://pypi.org/project/SimConnect/ SimConnect Adds a pythonic wrapper for SimConnect SDK. pypi.org pip install SimConnect 설치가 완료되면 아래 예제를 실행 해 보자. import simconnect import time # Connect to SimConnect sm = simconnect.SimConnect() # Define the aircraft object aircraft = sm.add_aircraft_object("Aircraft") # Set the current heading of the aircraft to 270 degrees heading = .. 2023. 4. 4.
[MSFS-DIY] arduino tm1637 segment 출 준비물 : arduino tm1637 4 digit segment (4자리 세그먼트 + tm1637) 연결할 점퍼선 들... 1. 아두이노와 tm1637 보드연결 tm1637 의 5v gnd 는 아두이노 보드의 5v gnd 에 clk 는 2번 핀 dio 는 3번 핀 에 연결 한다. 2. arduino 코드 및 컴파일 tm1637 출력 예제 0.1초 에 1씩 증가하는 예제 #include #define CLK 2 // Define CLK pin #define DIO 3 // Define DIO pin TM1637 tm1637(CLK, DIO); // Create a TM1637 object void setup() { tm1637.init(); // Initialize the module } int i = .. 2023. 4. 4.
아두이노 7 Segment 선택하기 [중요] mobiflight 를 이용해서 7 segment 연동을 계획 한다면 tm1627 칩을 사용한 세그먼트들은 안됨. * Mobiflight 는 tm1637 칩을 지원할 계획이 없음 * Max7219 칩을 이용할 것 -- Mobiflight 가 tm1637 지원을 하게 되면(희망) 위의 내용은 삭제 -- 737 용 MCP 만들기에 도전하면서 필요한 부품들을 하나씩 기록 * 4 자리 ( HDG, CRS 용 ) - https://ko.aliexpress.com/item/32866425287.html?spm=a2g0o.order_detail.order_detail_item.5.d7195ccdDsx1Bc&gatewayAdapt=glo2kor 2023. 3. 17.