change at86rf to 1ghznode

rom device runs ok with lpc11uxx
This commit is contained in:
hathach
2013-05-31 13:57:57 +07:00
parent 04a641f067
commit 3b9a616ca9
14 changed files with 654 additions and 1777 deletions

View File

@@ -23,7 +23,7 @@ int main(void)
board_init();
tusb_init();
print_greeting();
//print_greeting();
while (1)
{
if (current_tick + 1000 < system_ticks)
@@ -38,8 +38,13 @@ int main(void)
if (usb_isConfigured())
{
#if TUSB_CFG_DEVICE_HID_KEYBOARD
static uint32_t count =0;
if (count < 4)
{
uint8_t keys[6] = {0x04}; // A character
tusbd_hid_keyboard_send_report(0x00, keys, 1);
count++;
}
#endif
#if TUSB_CFG_DEVICE_HID_MOUSE