add programs

Dependencies:   mbed USBDevice

main.cpp

Committer:
yabutakefu
Date:
2019-05-01
Revision:
1:05875edbf215
Parent:
0:965ed9ce2a09

File content as of revision 1:05875edbf215:

#include "mbed.h"
#include "USBKeyboard.h"
#include "keyboardJP53.h"

#include <bitset>
#include <vector>

//LED1: NUM_LOCK  
//LED2: CAPS_LOCK
//LED3: SCROLL_LOCK
//BusOut leds(LED1, LED2, LED3);
 
//USBKeyboard
//USBKeyboard keyboard;
 
//2019/2/27 Ticker メモ 
//https://github.com/ARMmbed/mbed-os/blob/master/drivers/Ticker.h L87
//attach()第二引数の割込み間隔はfloafで、 (t * 1000000.0f )secとなるので少数表記で1秒以下も設定する
 
int main(void) {
    while (1) {
 
    }
}