Andrew J. Kroll
13950453c9
Fixes for spi4teensy3 on 3.5/3.6. Be sure to update your spi4teensy3 library as well.
2017-08-14 03:39:38 -04:00
Kristian Sloth Lauszus
42948831ce
Explicit cast millis() and micros() to uint32_t, as it is uint64_t on the Arduino 101
2017-02-12 16:58:14 +01:00
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
Yuuichi Akagawa
9b4dd2dcfb
Fix missing unsigned comparison.
2017-02-12 22:02:00 +09:00
Kristian Sloth Lauszus
178af85a26
Fixed warning and remove function prototype
2016-04-19 11:26:30 +02:00
stumpja
5feb32601c
Update hub_demo.ino
2016-04-19 11:26:30 +02:00
stumpja
4be94d11c5
Update hub_demo.ino
...
Updated code per @Lauszus request. The first item updated was a comment on LINE #308 saying that the string is UTF-16LE encoded. This is why we have to skip every second character when printing the string. The second item was figuring out the proper buffer size for LINE #280 . After some research I found that the maximum string length is limited to 255 bytes since the bLength field is 1 byte long. I changed the buffer size to 256 to accommodate for this. Finally, I cleaned up some of the code to make it more consistent. This is purely aesthetic, and subjective at that.
2016-04-19 11:25:44 +02:00
stumpja
3413f5b21e
Update hub_demo.ino
...
updated hub_demo.ino with @Lauszus suggestions
2016-04-19 11:25:44 +02:00
stumpja
fadf774235
Update hub_demo.ino
...
Added functionality to print device string descriptors (I.E. Manufacturer, Product Description and Serial Number.
2016-04-19 11:25:44 +02:00
Kristian Sloth Lauszus
cbea36f76f
Fixed formatting
...
No new code added
2015-04-22 15:48:43 +02:00
Kristian Sloth Lauszus
5053e8dfae
Don't use deprecated prog_ macro
...
Fixes : #147
2015-04-22 15:48:18 +02:00
Kristian Sloth Lauszus
bce1541026
Fixed: warning: variable 'rcode' set but not used
2015-04-22 15:41:17 +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
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
Andrew J. Kroll
f6244bbe59
bugfix
2014-05-24 00:31:26 -04:00
Andrew J. Kroll
d56ed57495
Fix 1 month rollover bug -- Lei Shi found this one in one place, I found the problem all over the library and patched them all.
2014-05-22 23:36:33 -04:00
Andrew J. Kroll
f789c65c02
fix demos
2013-12-19 13:01:48 -05:00
Andrew J. Kroll
edf9682923
Support spi4teensy3 in all examples automatically
2013-12-04 21:56:06 -05: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