본문 바로가기

반응형

C++

(20)
Dialog를 띄우고 데이터 받기 Dialog를 open한 후 선택된 LOT을 부모 Dialog로 전달하기 위한 소스임 [부모 Dialog]변수를 선언한다.CString fromChilDlg_Lot; //헤더파일 및 생성자 void COriginalDlg ::OnBnClickedButtonSelectLot() { // TODO: 여기에 컨트롤 알림 처리기 코드를 추가합니다. CFPC_Lot_selection popselect; if(popselect.DoModal()==IDOK) { m_strLotCode.Format("%s",fromChilDlg_Lot); SetDlgItemText(IDC_EDIT_LOTCODE,m_strLotCode); } } [자식 Dialog]COriginalDlg *mainapp = (COriginalDlg *..
AfxExtractSubString AfxExtractSubStringhttps://msdn.microsoft.com/ko-kr/library/aa991543.aspx
Source Insight 오류 메시지 펌웨어를 짤 때 Source Insight를 사용한다 그런데 어제 오랜만에 소스를 수정하기 위해 프로젝트를 열고 수정하고 저장을 하는데 다음과 같은 메시지가 뜬다 구글링해도 잘 나오지 않는 해답은 무엇일까? Error: "~~" is busy. It is not currently available for write access. 이거 답을 아시는 분~~~ 플리즈... ㅠㅠ
자동 startx 실행하기 라즈베리파이 자동 startx 실행하기!! 1. 다음파일을 편집하기 위해 띄웁니다. sudo nano /etc/rc.local 2. 다음 명령을 exit 0 바로 위에 기입합니다. su -l pi -c startx 3. 저장하고 재부팅합니다.
자동 로그인하기 1. inittab 파일을 수정하기위해 편집창으로 띄웁니다. sudo nano /etc/inittab 2. 다음 부분을 찾습니다. 1:2345:respawn:/sbin/getty 115200 tty1 3. 다음과 같이 주석처리를 합니다. #1:2345:respawn:/sbin/getty 115200 tty1 4. 아래에 다음과 같이 추가합니다. 1:2345:respawn:/bin/login -f pi tty1 /dev/tty1 2>&1 5. 저장합니다. (ctrl+o(save) and ctrl+x (종료))
라즈베리 파이 숨겨진SSID (hidden SSID) 연결방법 How to setup a Raspberry Pi with a hidden network using a Edimax EW-7811Un If you are looking for a wireless adapter for the Raspberry Pi, the Edimax EW-7811Un is reasonably priced at $12.99 ($9.99 w/ Amazon Prime) and is supported with Raspbian "wheezy" 3.2.27+ kernel. There were driver issues with earlier versions of Raspbian, but luckily you won't have to worry about installing drivers with a..
아두이노 우노(UNO)로 아두이노 프로미니(Pro mini)에 생명 불어넣기~!! ARDUINO UNO가 생겼습니다. 음 심플하니 프로그램 하기도 쉽고 괜찮은 제품입니다. 회로도까지 친절한 제품이어서 일단 아두이노 프로 미니에 제가 추가하고자 했던 회로를 덧붙여서 PCB를 난생 처음으로 제작해 봤습니다. SMD까지 마치고 이제 프로그램을 올리려고 하니 계속 Fail Error 이런것들이 뜹니다. 알아보니 Atmega 칩에 부트로더를 올려야 아두이노가 된다고 하네요 부트로더를 올리려고 봤더니 ISP 단자를 빼놓은게 없었습니다. 어찌해야하나 알아보니 UNO를 ISP처럼 사용할 수 있습니다. 방법은 다음과 같습니다. 1. 아두이노 우노를 PC와 연결한다. 2. 스케치 로더 프로그램을 띄운다. 3. 파일>예제>ArduinoISP를 열고 우노에 업로드한다. 4. 부트로더를 올릴 ATmega를 ..
Platform Devices and Drivers Documentation/driver-modle/platform.txt 내용 1Platform Devices and Drivers 2~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3See for the driver model interface to the 4platform bus: platform_device, and platform_driver. This pseudo-bus 5is used to connect devices on busses with minimal infrastructure, 6like those used to integrate peripherals on many system-on-chip 7processors, or some "legacy" PC interconnects; as ..

반응형