Commit graph

869 commits

Author SHA1 Message Date
Kristian Lauszus
ef4757f88f Check if GCC_VERSION is defined before defining it 2013-12-21 13:40:28 +01:00
Kristian Lauszus
35e8bb2dbf Removed unused code 2013-12-21 13:39:47 +01:00
Andrew J. Kroll
f789c65c02 fix demos 2013-12-19 13:01:48 -05:00
Andrew J. Kroll
6638f61352 Finalize fix 2013-12-18 22:20:50 -05:00
Andrew J. Kroll
1cad976f29 Merge branch 'xxxajk' of github.com:felis/USB_Host_Shield_2.0 into xxxajk 2013-12-18 22:04:22 -05:00
Andrew J. Kroll
77efe42a71 Fix hidboot not allocating or checking properly on mouse.
Removal of duplicate code: Force all drivers to delay after setting address.
2013-12-18 22:02:51 -05:00
Oleg Mazurov
94ac0b986a dec18-1 2013-12-18 15:06:06 -07:00
Oleg Mazurov
e0b9ea89cb dec18 2013-12-18 15:04:13 -07:00
Kristian Lauszus
ddaa6f0220 Fixed “comparison between signed and unsigned integer expressions” warning 2013-12-18 23:01:01 +01:00
Andrew J. Kroll
fcaef6f5a2 Merge branch 'xxxajk' of github.com:felis/USB_Host_Shield_2.0 into xxxajk 2013-12-18 15:19:29 -05:00
Andrew J. Kroll
5785115cdb Type fixes, new debug macro, debug bug fixes. 2013-12-18 15:18:28 -05:00
Kristian Lauszus
fdd65eab68 Whitespace 2013-12-16 09:18:01 +01:00
Kristian Lauszus
92c7a64309 Store all strings in getStatusString() in flash 2013-12-16 09:16:12 +01:00
Kristian Lauszus
f283e90402 Renamed CLK, MOSI, MISO and SS variables, as they conflicted with defines in pins_arduino.h
See: 7fcba37acf
2013-12-15 22:19:50 +01:00
Kristian Lauszus
0b2e444e7b Fixed macros in Wii.h as well 2013-12-13 11:27:05 +01:00
Kristian Lauszus
6ea34f955e Fixed flag macros
Needed if you want to clear multiple flags at once
2013-12-13 11:18:30 +01:00
Kristian Lauszus
471a8d9163 Set pin even if it should not pair to a device
Needed by some Bluetooth mice that always want authentication
2013-12-13 10:41:59 +01:00
Kristian Lauszus
184770489f Removed another unneeded case in the state machine 2013-12-13 10:41:12 +01:00
Kristian Lauszus
1ef78c3674 Do not hardcode identifier when disconnecting 2013-12-13 10:38:41 +01:00
Kristian Lauszus
413e65a44f Reorder values 2013-12-13 10:36:15 +01:00
Kristian Lauszus
a7f6b2e4dc Removed unneeded case 2013-12-13 10:35:27 +01:00
Kristian Lauszus
084c3f5478 Removed non-generic case 2013-12-12 01:01:50 +01:00
Andrew J. Kroll
6e70087f0b teensy 3.1 support 2013-12-11 14:15:51 -05:00
Kristian Lauszus
c1f82e9e47 Check length is larger than 0 before sending data to Bluetooth services 2013-12-11 11:56:05 +01:00
Kristian Lauszus
6909ecd6b8 Use more readable macros in the BTD class as well 2013-12-11 10:37:18 +01:00
Kristian Lauszus
712bc3818d Fixed warning
Check if we are at the end of the string properly
2013-12-11 10:10:12 +01:00
Kristian Lauszus
dec1a31bc7 Updated some comments 2013-12-11 10:06:40 +01:00
Kristian Lauszus
809e80a1b0 Clear and set flags in a more readable way 2013-12-11 09:59:58 +01:00
Kristian Lauszus
ed36d04e7c Move all L2CAP states etc. into BTD.h, so the different drivers does not conflict when used together 2013-12-11 09:29:38 +01:00
Kristian Lauszus
73bffffddc Don’t inlcude avr/pgmspace.h
This is needed, as we work around bug in GCC - see: 9b3bae9dbe
2013-12-10 00:50:03 +01:00
Kristian Lauszus
9b3bae9dbe Workaround for bug in GCC < 4.6.2 2013-12-10 00:39:12 +01:00
Kristian Lauszus
e92dd0d03d Typo 2013-12-08 17:42:14 +01:00
Kristian Lauszus
8072e6f1bb Added max_LCD example
Copy of: https://github.com/arduino/Arduino/blob/ide-1.5.x/libraries/LiquidCrystal/examples/HelloWorld/HelloWorld.ino
2013-12-07 00:34:33 +01:00
Kristian Lauszus
00442ce2e5 Updated max_LCD to inherit the standard Print class
Works both in Arduino < 1.0.0 and newer versions of Arduino
2013-12-07 00:32:21 +01:00
Kristian Lauszus
4533e3cd44 Allow SPP to work in Arduino 0.2.3 and below 2013-12-07 00:26:49 +01:00
Kristian Lauszus
843eec8ba6 Print when connected and disconnected from accessory 2013-12-06 23:27:26 +01:00
Kristian Lauszus
655b60ea90 Added some delays between USB commands 2013-12-06 23:24:25 +01:00
Kristian Lauszus
4f738d3ef9 Removed some unused code 2013-12-06 22:59:12 +01:00
Kristian Lauszus
b4bb7c9244 Fixed some bugs introduced in e18eb57752 2013-12-06 22:58:16 +01:00
Kristian Lauszus
34ea983e88 Use VALUE_WITHIN macro 2013-12-05 20:07:31 +01:00
Kristian Lauszus
0a7ffe5776 Allow to override default arrays in hidboot, so it can easily be used with other keyboard layouts 2013-12-05 19:57:50 +01:00
Andrew J. Kroll
fd13b87c18 Improve macro farther 2013-12-05 02:06:07 -05:00
Kristian Lauszus
aa235ac3ed Macros were renamed in f38a0f6515 2013-12-05 07:41:57 +01:00
Kristian Lauszus
16f124d596 Removed unused code 2013-12-05 07:40:07 +01:00
Kristian Lauszus
b100677354 Fixed bug - epMUL was already defined 2013-12-05 07:39:28 +01:00
Kristian Lauszus
d168409b04 Included spi4teensy3.h in BTHID example
This should really be fixed in the Arduino IDE
2013-12-05 07:32:32 +01:00
Kristian Lauszus
75637bab31 Merge branch 'master' into xxxajk 2013-12-05 07:26:41 +01:00
Andrew J. Kroll
6d927d8cd3 Remove unused vasriable and setting 2013-12-04 22:41:13 -05:00
Andrew J. Kroll
edf9682923 Support spi4teensy3 in all examples automatically 2013-12-04 21:56:06 -05:00
Andrew J. Kroll
ac12126477 Macroize desc parser 2013-12-04 21:55:24 -05:00