Commit graph

1130 commits

Author SHA1 Message Date
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
Kristian Sloth Lauszus 08ddabf7a5 Use much faster GPIO pin 2 and 3 on Intel Galileo & Intel Galileo 2 2015-03-19 20:09:27 +01:00
Andrew J. Kroll e73a684b46 Merge branch 'master' of github.com:felis/USB_Host_Shield_2.0 2015-03-19 15:01:33 -04:00
Andrew J. Kroll 4230ccefac XR_terminal example INO renamed 2015-03-19 15:01:06 -04:00
Kristian Sloth Lauszus d881e514ee Check for MIPSEL at the same place as Teensy 3.x and Galileo 2015-03-19 18:25:26 +01:00
Kristian Sloth Lauszus 424e351923 Put avrpins include back at original order
Also some whitespace fixes
2015-03-19 18:24:41 +01:00
Kristian Sloth Lauszus cdc52a31f5 Merge branch 'SPI' into Galileo 2015-03-19 18:15:23 +01:00
Kristian Sloth Lauszus 31e1c258de Merge branch 'master' into SPI 2015-03-19 18:15:15 +01:00
Kristian Sloth Lauszus a2265ea0a9 All these files changes were changed in: bc8000f782
I suspect Andrew used force push to overwrite the history
2015-03-19 18:11:22 +01:00
Kristian Sloth Lauszus 73ce976198 Merge branch 'SPI' into Galileo
Conflicts:
	Usb.h
	avrpins.h
	usbhost.h
2015-03-19 16:36:51 +01:00
Kristian Sloth Lauszus cc14152c54 Slow SPI devices like the Galileo might actually read it as stabilised in the first go 2015-03-19 16:31:29 +01:00
Kristian Sloth Lauszus 585b357ee5 Merge branch 'master' into SPI
Conflicts:
	settings.h
	usbhost.h
2015-03-19 15:34:07 +01:00
Kristian Sloth Lauszus ceda6e18b5 Pin 13, 12 and 11 can still be used for SPI on Uno 2015-03-19 15:24:23 +01:00
Andrew J. Kroll 8c38426eab Merge branch 'master' of github.com:felis/USB_Host_Shield_2.0 2015-03-18 05:43:10 -04:00