saves for 20 seconds the values of mx, my and gz from the minimu9 V3 and the pos_of_line value from the m3pi to a txt-file on an USB-stick
Dependencies: FatFileSystem m3pi_TUB2 mbed
Fork of USB-A by
USBHostLite/usbhost_cpu.h@1:ea4ac32aabf9, 2016-01-30 (annotated)
- Committer:
- ErmGas
- Date:
- Sat Jan 30 22:28:14 2016 +0000
- Revision:
- 1:ea4ac32aabf9
- Parent:
- 0:4e756c4c88a7
writes the sensorvalues of mx, my and gz from the minimu9 V3 and the pos_of_line from the m3pi in a txt file on an USB-stick
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
chris | 0:4e756c4c88a7 | 1 | /* |
chris | 0:4e756c4c88a7 | 2 | ************************************************************************************************************** |
chris | 0:4e756c4c88a7 | 3 | * NXP USB Host Stack |
chris | 0:4e756c4c88a7 | 4 | * |
chris | 0:4e756c4c88a7 | 5 | * (c) Copyright 2008, NXP SemiConductors |
chris | 0:4e756c4c88a7 | 6 | * (c) Copyright 2008, OnChip Technologies LLC |
chris | 0:4e756c4c88a7 | 7 | * All Rights Reserved |
chris | 0:4e756c4c88a7 | 8 | * |
chris | 0:4e756c4c88a7 | 9 | * www.nxp.com |
chris | 0:4e756c4c88a7 | 10 | * www.onchiptech.com |
chris | 0:4e756c4c88a7 | 11 | * |
chris | 0:4e756c4c88a7 | 12 | * File : usbhost_cpu.h |
chris | 0:4e756c4c88a7 | 13 | * Programmer(s) : Ravikanth.P |
chris | 0:4e756c4c88a7 | 14 | * Version : |
chris | 0:4e756c4c88a7 | 15 | * |
chris | 0:4e756c4c88a7 | 16 | ************************************************************************************************************** |
chris | 0:4e756c4c88a7 | 17 | */ |
chris | 0:4e756c4c88a7 | 18 | |
chris | 0:4e756c4c88a7 | 19 | #ifndef USBHOST_CPU_H |
chris | 0:4e756c4c88a7 | 20 | #define USBHOST_CPU_H |
chris | 0:4e756c4c88a7 | 21 | |
chris | 0:4e756c4c88a7 | 22 | /* |
chris | 0:4e756c4c88a7 | 23 | ************************************************************************************************************** |
chris | 0:4e756c4c88a7 | 24 | * TYPE DEFINITIONS OF DATA TYPES |
chris | 0:4e756c4c88a7 | 25 | ************************************************************************************************************** |
chris | 0:4e756c4c88a7 | 26 | */ |
chris | 0:4e756c4c88a7 | 27 | |
chris | 0:4e756c4c88a7 | 28 | typedef unsigned int USB_INT32U; |
chris | 0:4e756c4c88a7 | 29 | typedef signed int USB_INT32S; |
chris | 0:4e756c4c88a7 | 30 | typedef unsigned short USB_INT16U; |
chris | 0:4e756c4c88a7 | 31 | typedef signed short USB_INT16S; |
chris | 0:4e756c4c88a7 | 32 | typedef unsigned char USB_INT08U; |
chris | 0:4e756c4c88a7 | 33 | typedef signed char USB_INT08S; |
chris | 0:4e756c4c88a7 | 34 | |
chris | 0:4e756c4c88a7 | 35 | #endif |