2011-12-01から1ヶ月間の記事一覧

LPCXpresso-LPC1769 組込みプログラミング [USB Virtual COM実装編5]

PIC実験室でおなじみに後閑さんのWebページです。 USBプログラム開発の全景が図解で分かりやすく書いてあります。 なおかつ実用的なレベルなので、とても参考になります。 USB通信プログラミングテクニック http://www.picfun.com/usb00.html

LPCXpresso-LPC1769 組込みプログラミング [USB Virtual COM実装編3]

LPCXpresso1769でUSB Virtual COM機能を実装したい。 LPCXpresso付属のexample project "USBCDC"の利用を試みたが、 必要なヘッダファイルが足りず、コンパイルエラーで先に進めない。 下記のライブラリが参考になりそう。【記事名】LPC17xx Virtual COM por…

LPCXpresso-LPC1769 組込みプログラミング [USB Virtual COM実装編4]

先ほどのライブラリを用いて作成した、簡易サンプルコードを示す。#ifdef __USE_CMSIS #include "LPC17xx.h" #endif#include #include #include "usbSerial.h" // Variable to store CRP value in. Will be placed automatically // by the linker when "Ena…