Commit graph

993 commits

Author SHA1 Message Date
Kristian Sloth Lauszus
5db356282f Removed some hidden characters after closing parentheses 2015-04-25 01:39:08 +02:00
Kristian Sloth Lauszus
7095b58896 Merge pull request #146 from felis/WiiBalanceBoard
Added support for Wii balance board
2015-04-25 01:27:16 +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
1f3072b343 Added Nordic nRF51 to supported platforms for PlatformIO 2015-04-20 23:42:41 +02:00
Kristian Sloth Lauszus
7fa47b5710 Merge branch 'master' into WiiBalanceBoard 2015-04-20 23:40:37 +02:00
Kristian Sloth Lauszus
b3303d14fc Set checkBatteryLevel false only when it was actually true 2015-04-20 23:40:34 +02:00
Kristian Sloth Lauszus
e4c581c991 The is no need for Wii calibration flag to have its own variable 2015-04-20 23:39:57 +02:00
Kristian Sloth Lauszus
0ef5fa5357 Always prioritise USING_SPI4TEENSY3 if set to 1
Fixes: #147
2015-04-20 21:44:31 +02:00
Kristian Sloth Lauszus
50b6ce4c9c All boards now rely on the SPI library after: https://github.com/felis/USB_Host_Shield_2.0/pull/137 2015-04-20 03:03:04 +02:00
Kristian Sloth Lauszus
59af258a79 Fixed: "warning: "XR_REG_ERROR_STATUS_BREAK" redefined" 2015-04-20 02:37:26 +02:00
Kristian Sloth Lauszus
5efed1938a Fixed: "warning: value computed is not used [-Wunused-value]"
See: http://stackoverflow.com/questions/4347684/pointer-value-computed-is-not-used-in-c-function
2015-04-20 00:55:04 +02:00
Kristian Sloth Lauszus
a032e01465 Fixed "warning: comparison between signed and unsigned integer expressions"
Also return if length is too short
2015-04-20 00:51:52 +02:00
Kristian Sloth Lauszus
17feb495be Merge branch 'v173k-master' 2015-04-17 23:14:54 +02:00
Kristian Sloth Lauszus
5d7ce9d022 Merge #110 2015-04-17 23:14:32 +02:00
Kristian Sloth Lauszus
71580acca2 PID was not checked properly in cdcprolific 2015-04-17 22:51:41 +02:00
Kristian Sloth Lauszus
11f80275a5 Added information about Arduino Library Manager 2015-04-16 22:08:33 +02:00
Kristian Sloth Lauszus
c44a80534b Added missing keyword 2015-04-16 20:31:23 +02:00
Kristian Sloth Lauszus
2ebc8129a7 Show users how to easily save a lot of program space if extensions are not used 2015-04-16 20:20:27 +02:00
Kristian Sloth Lauszus
9426e4192d Updated some variables names and updated some debug messages 2015-04-16 20:19:33 +02:00
Kristian Sloth Lauszus
7334f7e9a4 Changed some variable names and simplified the way the weight is calculated
There was actually a bug, as it will return 0 if wiiBalanceBoardRaw[pos] is exactly the same as wiiBalanceBoardCal[1][pos]
2015-04-16 19:45:03 +02:00
Kristian Sloth Lauszus
d2511df4a1 Move functions into .cpp file 2015-04-16 17:00:07 +02:00
Kristian Sloth Lauszus
7acf598a59 Convert Wii Balance Board readings into kg 2015-04-16 16:55:35 +02:00
Kristian Sloth Lauszus
9cb31799a8 Fix initialisation of extension bug in status report.
The first status report were missed because checkExtension had to be true.
Should fix bug reported here: http://blog.tkjelectronics.dk/2012/08/wiimote-added-to-usb-host-library/#comment-500635
2015-04-16 16:50:08 +02:00
Kristian Sloth Lauszus
a3fbffb42c Updated some comments 2015-04-16 02:34:27 +02:00
Kristian Sloth Lauszus
e555195e42 Print raw Wii Balance Board values in example 2015-04-16 02:26:18 +02:00
Kristian Sloth Lauszus
03e0ec5d6d Print values properly 2015-04-16 02:15:52 +02:00
Kristian Sloth Lauszus
b1902b2a55 Initial support for Wii Balance Board
Still need to convert readings into something meaningful
2015-04-16 01:57:00 +02:00
Kristian Sloth Lauszus
3d5b46d055 Fixed "warning: no return statement in function returning non-void" 2015-04-16 00:07:47 +02:00
Andrew Kroll
7e6a1de9dc Merge pull request #145 from feilipu/patch-1
Update Usb.cpp
2015-04-15 16:42:02 -04:00
Phillip Stevens
c61f9ce1c2 Update Usb.cpp
Typo in the InTransfer function relating to resolving toggle errors arising from hrTOGERR
2015-04-15 12:54:29 +10:00
Kristian Sloth Lauszus
05c71da9c1 Replace boolean with bool
Please see: bd8c8e7404
2015-04-14 02:02:05 +02:00
Kristian Sloth Lauszus
271520919b Updated link to USB Host shield image 2015-04-07 16:02:29 +02:00
Kristian Sloth Lauszus
bc11723589 Added Digilent chipKIT to supported boards 2015-04-07 15:51:30 +02:00
Kristian Sloth Lauszus
fb95a7f383 Merge pull request #142 from felis/Galileo
Added support for Intel Galileo 1 & 2 and Intel Edison
2015-04-07 15:41:50 +02:00
Kristian Sloth Lauszus
7c40645ff1 Merge pull request #137 from felis/SPI
Implement Arduino SPI transaction API
2015-04-07 15:41:17 +02:00
Kristian Sloth Lauszus
127273aad3 Merge branch 'SPI' into Galileo 2015-04-07 15:08:19 +02:00
Kristian Sloth Lauszus
feb7112517 Merge branch 'master' into SPI
Conflicts:
	examples/testusbhostFAT/testusbhostFAT.ino
2015-04-07 15:08:02 +02:00
Kristian Sloth Lauszus
b41150643f Only use pin 2 and 3 as INT and SS when using Intel Galileo 1 2015-04-05 13:01:24 +02:00
Kristian Sloth Lauszus
54aef653fe Update master makefile 2015-04-05 00:55:26 +02:00
Kristian Sloth Lauszus
d79de9d704 Update makefile to work with newest version of Arduino 2015-04-05 00:46:43 +02:00
Kristian Sloth Lauszus
2eea8d4112 Update submodules 2015-04-05 00:22:36 +02:00
Kristian Sloth Lauszus
9e32aef86c Replace boolean with bool 2015-04-05 00:18:52 +02:00
Kristian Sloth Lauszus
67a7a66d3d Updated to newest version of testusbhostFAT
Fixes #143
2015-04-05 00:17:51 +02:00
Kristian Sloth Lauszus
6a956962da Added library.properties
Needed for the Arduino library manager
2015-04-03 17:05:49 +02:00
Kristian Sloth Lauszus
aba96e76d1 Merge branch 'guruthree-master'
# Conflicts:
#	README.md

Closes #135
2015-03-25 01:19:06 +01:00
Kristian Sloth Lauszus
fcab83dcb3 Fixed some bugs in: https://github.com/felis/USB_Host_Shield_2.0/pull/135 2015-03-25 01:16:41 +01:00
Kristian Sloth Lauszus
4e80db2b3f Use setClockSpeed to increase SPI clock speed
This is only available in newer version of the API. It can be downloaded here: http://www.intel.com/support/edison/sb/CS-035180.htm and can both be used with the Edison and the Galileo
Note that I tried to set the clock rate higher than 12 MHz, but it did not work
2015-03-19 21:20:06 +01:00
Kristian Sloth Lauszus
42a26346fa Added support for Intel Edison
Closes #132
2015-03-19 20:47:48 +01:00