Commit graph

24 commits

Author SHA1 Message Date
Kristian Sloth Lauszus
6fb48f48e4 Fix millis() and micros() rollover bug
Also replace long with int32_t, so it is not architecture dependent
2017-02-12 15:10:07 +01:00
Kristian Sloth Lauszus
14021813ef Fix some more unused-but-set-variable warnings
And autoformat some of the examples
2016-04-19 17:12:10 +02:00
Kristian Sloth Lauszus
2ab25f0382 Fix unused-but-set-variable warning 2016-04-19 17:03:42 +02:00
Kristian Sloth Lauszus
9eed52026b There is no reason to cast implicit to HIDReportParser, as the classes already inherits it 2016-01-20 14:59:16 +01:00
Pavel Fatin
969eabb8d7 Compatibility with Arduino's core HID / Mouse / Keyboard libraries
The following collisions resolved:

hid.h -> usbhid.h
hid.cpp -> usbhid.cpp
HID -> USBHID
HID_BOOT_PROTOCOL -> USB_HID_BOOT_PROTOCOL
HID_PROTOCOL_NONE -> USB_HID_PROTOCOL_NONE
HID_PROTOCOL_KEYBOARD -> USB_HID_PROTOCOL_KEYBOARD
HID_PROTOCOL_MOUSE -> USB_HID_PROTOCOL_MOUSE

As a result, it's possible to use the library together with Arduino's bundled HID / Mouse / Keyboard libraries (Leonardo, Micro, or Due).

https://www.arduino.cc/en/Reference/MouseKeyboard
2016-01-16 20:34:16 +01:00
Kristian Sloth Lauszus
36056a4039 Renamed Keyboard instance to HidKeyboard, so it works on the Due as well 2015-05-23 15:49:46 +02:00
Kristian Sloth Lauszus
22d82ecd0a SPI library was added twice after merge - see: c39e8a180c 2015-03-03 19:08:39 +01:00
Kristian Sloth Lauszus
c39e8a180c Merge branch 'master' into SPI
Conflicts:
	examples/Bluetooth/SPPMulti/SPPMulti.ino
	examples/adk/ArduinoBlinkLED/ArduinoBlinkLED.ino
	settings.h
	usbhost.h
2015-03-03 18:56:59 +01:00
Andrew J. Kroll
bd8c8e7404 Fix use of "bool" so ARM compiles correctly 2015-02-19 03:14:39 -05:00
Andrew J. Kroll
196a0b69be Fix all demos, fix all wrong uses of virtual keyword, some spacing cleanup. 2014-11-10 01:35:13 -05:00
Kristian Lauszus
7d3154bce7 Work around Arduino IDE bug
See: https://github.com/arduino/Arduino/pull/1726
2014-08-02 18:57:37 -04:00
Kristian Lauszus
843eec8ba6 Print when connected and disconnected from accessory 2013-12-06 23:27:26 +01:00
Kristian Lauszus
0de2c0e48b Arduino can now write data to the Android phone as well 2013-11-17 18:57:03 +01:00
Kristian Lauszus
99d2e4cb0d Updated comment 2013-11-15 23:20:15 +01:00
Kristian Sloth Lauszus
3c3b8ec986 Reformat ArduinoBlinkLED example 2013-10-30 15:21:50 +01:00
Kristian Sloth Lauszus
f8c0adc107 Wait for serial port to connect in example - needed for Leonardo, Teensy and other boards with built-in USB CDC serial connection 2013-10-21 19:58:03 +02:00
Kristian Sloth Lauszus
45c1297a91 Removed all unnecessary includes since there is no need to do that anymore
Also renamed all example extensions to .ino
2013-10-02 00:49:46 +02:00
Kristian Lauszus
4e10fd3046 Added Android source to github 2012-10-17 00:43:34 +02:00
Kristian Lauszus
79dd1d6952 Minor edit 2012-04-11 01:48:46 +02:00
Kristian Lauszus
fc0a62038c Added ArduinoBlinkLED ADK Example
The code for the Android application is heavily based on this guide:
http://allaboutee.com/2011/12/31/arduino-adk-board-blink-an-led-with-you
r-phone-code-and-explanation/ by Miguel
2012-03-25 16:28:50 +02:00
Oleg Mazurov
2c728cd7dd Arduino-1.0 compatibility added 2012-01-10 12:49:42 -07:00
Oleg Mazurov
2d7d482914 ADK barcode scanner interface example added 2011-11-04 21:37:26 -06:00
Oleg Mazurov
f1a569f18c ADK terminal demos added 2011-09-10 20:13:18 -06:00
Oleg Mazurov
0244032d0d adk final 2011-07-06 19:48:43 -06:00