Jump to content

lawrence_jeff

Members
  • Content Count

    42
  • Joined

  • Last visited

  • Days Won

    3

Reputation Activity

  1. Like
    lawrence_jeff got a reaction from timotet in Launchpad USB example and documentation additions/labs   
    Its been long enough that I would have to take a look to figure it out - can you post your code? Or email lawrence underscore jeff at hotmail.
  2. Like
    lawrence_jeff got a reaction from timotet in Launchpad USB example and documentation additions/labs   
    For those of you attempting to build USB devices I put together some Launchpad examples as well as a lab type walkthrough of how to create custom devices (mainly HID)
     
    Included
     
    1) Examples ported to the Launchpad  - Mouse, Keyboard, Composite
    2) Updated HID header file with additional device and usage types
    3) A new device type called usbdhidcustom - This allows you to make new devices with minimal code changes
    4) A complete document in lab type format where you build a volume control device, a gamepad and a keyboard + mouse
    5) Completed projects to go with the labs
     
     
     
     
     
    StellarisWare.zip
  3. Like
    lawrence_jeff got a reaction from Rei Vilo in Using Harware QEI on Tiva Launchpad   
    I got the QEI module working on the new Tiva Launchpad and thought the code might be helpful for others. QEI0 can use either PortD or Port F, since F is used by the LEDs I used PortD - the only gotcha is that PD7 is one of the NMI locked pins by default so I burned lots of time wondering why things weren't quite working. Anyway here is working code:
    //***************************************************************************** // // qei.c - Example to demonstrate QEI on Tiva Launchpad //This setup uses QEI0 P6/PD7, in my testing an arcade trackball is connected. //You can also use QEI1 PC5/PC6 in which case you don't need the PD7 HWREG calls (note: I didn't test this) // // //***************************************************************************** #include <stdint.h> #include <stdbool.h> #include "inc/hw_gpio.h" #include "inc/hw_types.h" #include "inc/hw_ints.h" #include "inc/hw_memmap.h" #include "driverlib/sysctl.h" #include "driverlib/pin_map.h" #include "driverlib/gpio.h" #include "driverlib/qei.h" volatile int qeiPosition; int main(void) { // Set the clocking to run directly from the crystal. SysCtlClockSet(SYSCTL_SYSDIV_4|SYSCTL_USE_PLL|SYSCTL_XTAL_16MHZ|SYSCTL_OSC_MAIN); // Enable QEI Peripherals SysCtlPeripheralEnable(SYSCTL_PERIPH_GPIOD); SysCtlPeripheralEnable(SYSCTL_PERIPH_QEI0); //Unlock GPIOD7 - Like PF0 its used for NMI - Without this step it doesn't work HWREG(GPIO_PORTD_BASE + GPIO_O_LOCK) = GPIO_LOCK_KEY; //In Tiva include this is the same as "_DD" in older versions (0x4C4F434B) HWREG(GPIO_PORTD_BASE + GPIO_O_CR) |= 0x80; HWREG(GPIO_PORTD_BASE + GPIO_O_LOCK) = 0; //Set Pins to be PHA0 and PHB0 GPIOPinConfigure(GPIO_PD6_PHA0); GPIOPinConfigure(GPIO_PD7_PHB0); //Set GPIO pins for QEI. PhA0 -> PD6, PhB0 ->PD7. I believe this sets the pull up and makes them inputs GPIOPinTypeQEI(GPIO_PORTD_BASE, GPIO_PIN_6 | GPIO_PIN_7); //DISable peripheral and int before configuration QEIDisable(QEI0_BASE); QEIIntDisable(QEI0_BASE,QEI_INTERROR | QEI_INTDIR | QEI_INTTIMER | QEI_INTINDEX); // Configure quadrature encoder, use an arbitrary top limit of 1000 QEIConfigure(QEI0_BASE, (QEI_CONFIG_CAPTURE_A_B | QEI_CONFIG_NO_RESET | QEI_CONFIG_QUADRATURE | QEI_CONFIG_NO_SWAP), 1000); // Enable the quadrature encoder. QEIEnable(QEI0_BASE); //Set position to a middle value so we can see if things are working QEIPositionSet(QEI0_BASE, 500); //Add qeiPosition as a watch expression to see the value inc/dec while (1) //This is the main loop of the program { qeiPosition = QEIPositionGet(QEI0_BASE); SysCtlDelay (1000); } }
  4. Like
    lawrence_jeff got a reaction from maqsudbek in Using Hardware PWM on Tiva Launchpad   
    PWM is much easier on the new Launchpad using the PWM peripherals, here is a working example using the 3 onboard LEDs.
    #include <stdint.h> #include <stdbool.h> #include "inc/hw_gpio.h" #include "inc/hw_types.h" #include "inc/hw_memmap.h" #include "driverlib/sysctl.h" #include "driverlib/pin_map.h" #include "driverlib/gpio.h" #include "driverlib/pwm.h" int main(void) { unsigned long ulPeriod; //Set the clock SysCtlClockSet(SYSCTL_SYSDIV_1 | SYSCTL_USE_OSC | SYSCTL_OSC_MAIN | SYSCTL_XTAL_16MHZ); //Configure PWM Clock to match system SysCtlPWMClockSet(SYSCTL_PWMDIV_1); // Enable the peripherals used by this program. SysCtlPeripheralEnable(SYSCTL_PERIPH_GPIOF); SysCtlPeripheralEnable(SYSCTL_PERIPH_PWM1); //The Tiva Launchpad has two modules (0 and 1). Module 1 covers the LED pins ulPeriod = SysCtlClockGet() / 200; //PWM frequency 200HZ //Configure PF1,PF2,PF3 Pins as PWM GPIOPinConfigure(GPIO_PF1_M1PWM5); GPIOPinConfigure(GPIO_PF2_M1PWM6); GPIOPinConfigure(GPIO_PF3_M1PWM7); GPIOPinTypePWM(GPIO_PORTF_BASE, GPIO_PIN_1 | GPIO_PIN_2 | GPIO_PIN_3); //Configure PWM Options //PWM_GEN_2 Covers M1PWM4 and M1PWM5 //PWM_GEN_3 Covers M1PWM6 and M1PWM7 See page 207 4/11/13 DriverLib doc PWMGenConfigure(PWM1_BASE, PWM_GEN_2, PWM_GEN_MODE_UP_DOWN | PWM_GEN_MODE_NO_SYNC); PWMGenConfigure(PWM1_BASE, PWM_GEN_3, PWM_GEN_MODE_UP_DOWN | PWM_GEN_MODE_NO_SYNC); //Set the Period (expressed in clock ticks) PWMGenPeriodSet(PWM1_BASE, PWM_GEN_2, ulPeriod); PWMGenPeriodSet(PWM1_BASE, PWM_GEN_3, ulPeriod); //Set PWM duty-50% (Period /2) PWMPulseWidthSet(PWM1_BASE, PWM_OUT_5,ulPeriod/2); PWMPulseWidthSet(PWM1_BASE, PWM_OUT_6,ulPeriod/2); PWMPulseWidthSet(PWM1_BASE, PWM_OUT_7,ulPeriod/2); // Enable the PWM generator PWMGenEnable(PWM1_BASE, PWM_GEN_2); PWMGenEnable(PWM1_BASE, PWM_GEN_3); // Turn on the Output pins PWMOutputState(PWM1_BASE, PWM_OUT_5_BIT |PWM_OUT_6_BIT|PWM_OUT_7_BIT, true); //Do nothing while(1) { } }
  5. Like
    lawrence_jeff got a reaction from igor in Using Hardware PWM on Tiva Launchpad   
    PWM is much easier on the new Launchpad using the PWM peripherals, here is a working example using the 3 onboard LEDs.
    #include <stdint.h> #include <stdbool.h> #include "inc/hw_gpio.h" #include "inc/hw_types.h" #include "inc/hw_memmap.h" #include "driverlib/sysctl.h" #include "driverlib/pin_map.h" #include "driverlib/gpio.h" #include "driverlib/pwm.h" int main(void) { unsigned long ulPeriod; //Set the clock SysCtlClockSet(SYSCTL_SYSDIV_1 | SYSCTL_USE_OSC | SYSCTL_OSC_MAIN | SYSCTL_XTAL_16MHZ); //Configure PWM Clock to match system SysCtlPWMClockSet(SYSCTL_PWMDIV_1); // Enable the peripherals used by this program. SysCtlPeripheralEnable(SYSCTL_PERIPH_GPIOF); SysCtlPeripheralEnable(SYSCTL_PERIPH_PWM1); //The Tiva Launchpad has two modules (0 and 1). Module 1 covers the LED pins ulPeriod = SysCtlClockGet() / 200; //PWM frequency 200HZ //Configure PF1,PF2,PF3 Pins as PWM GPIOPinConfigure(GPIO_PF1_M1PWM5); GPIOPinConfigure(GPIO_PF2_M1PWM6); GPIOPinConfigure(GPIO_PF3_M1PWM7); GPIOPinTypePWM(GPIO_PORTF_BASE, GPIO_PIN_1 | GPIO_PIN_2 | GPIO_PIN_3); //Configure PWM Options //PWM_GEN_2 Covers M1PWM4 and M1PWM5 //PWM_GEN_3 Covers M1PWM6 and M1PWM7 See page 207 4/11/13 DriverLib doc PWMGenConfigure(PWM1_BASE, PWM_GEN_2, PWM_GEN_MODE_UP_DOWN | PWM_GEN_MODE_NO_SYNC); PWMGenConfigure(PWM1_BASE, PWM_GEN_3, PWM_GEN_MODE_UP_DOWN | PWM_GEN_MODE_NO_SYNC); //Set the Period (expressed in clock ticks) PWMGenPeriodSet(PWM1_BASE, PWM_GEN_2, ulPeriod); PWMGenPeriodSet(PWM1_BASE, PWM_GEN_3, ulPeriod); //Set PWM duty-50% (Period /2) PWMPulseWidthSet(PWM1_BASE, PWM_OUT_5,ulPeriod/2); PWMPulseWidthSet(PWM1_BASE, PWM_OUT_6,ulPeriod/2); PWMPulseWidthSet(PWM1_BASE, PWM_OUT_7,ulPeriod/2); // Enable the PWM generator PWMGenEnable(PWM1_BASE, PWM_GEN_2); PWMGenEnable(PWM1_BASE, PWM_GEN_3); // Turn on the Output pins PWMOutputState(PWM1_BASE, PWM_OUT_5_BIT |PWM_OUT_6_BIT|PWM_OUT_7_BIT, true); //Do nothing while(1) { } }
  6. Like
    lawrence_jeff got a reaction from kkrambo in Launchpad USB example and documentation additions/labs   
    For those of you attempting to build USB devices I put together some Launchpad examples as well as a lab type walkthrough of how to create custom devices (mainly HID)
     
    Included
     
    1) Examples ported to the Launchpad  - Mouse, Keyboard, Composite
    2) Updated HID header file with additional device and usage types
    3) A new device type called usbdhidcustom - This allows you to make new devices with minimal code changes
    4) A complete document in lab type format where you build a volume control device, a gamepad and a keyboard + mouse
    5) Completed projects to go with the labs
     
     
     
     
     
    StellarisWare.zip
  7. Like
    lawrence_jeff got a reaction from tingo in Using Hardware PWM on Tiva Launchpad   
    PWM is much easier on the new Launchpad using the PWM peripherals, here is a working example using the 3 onboard LEDs.
    #include <stdint.h> #include <stdbool.h> #include "inc/hw_gpio.h" #include "inc/hw_types.h" #include "inc/hw_memmap.h" #include "driverlib/sysctl.h" #include "driverlib/pin_map.h" #include "driverlib/gpio.h" #include "driverlib/pwm.h" int main(void) { unsigned long ulPeriod; //Set the clock SysCtlClockSet(SYSCTL_SYSDIV_1 | SYSCTL_USE_OSC | SYSCTL_OSC_MAIN | SYSCTL_XTAL_16MHZ); //Configure PWM Clock to match system SysCtlPWMClockSet(SYSCTL_PWMDIV_1); // Enable the peripherals used by this program. SysCtlPeripheralEnable(SYSCTL_PERIPH_GPIOF); SysCtlPeripheralEnable(SYSCTL_PERIPH_PWM1); //The Tiva Launchpad has two modules (0 and 1). Module 1 covers the LED pins ulPeriod = SysCtlClockGet() / 200; //PWM frequency 200HZ //Configure PF1,PF2,PF3 Pins as PWM GPIOPinConfigure(GPIO_PF1_M1PWM5); GPIOPinConfigure(GPIO_PF2_M1PWM6); GPIOPinConfigure(GPIO_PF3_M1PWM7); GPIOPinTypePWM(GPIO_PORTF_BASE, GPIO_PIN_1 | GPIO_PIN_2 | GPIO_PIN_3); //Configure PWM Options //PWM_GEN_2 Covers M1PWM4 and M1PWM5 //PWM_GEN_3 Covers M1PWM6 and M1PWM7 See page 207 4/11/13 DriverLib doc PWMGenConfigure(PWM1_BASE, PWM_GEN_2, PWM_GEN_MODE_UP_DOWN | PWM_GEN_MODE_NO_SYNC); PWMGenConfigure(PWM1_BASE, PWM_GEN_3, PWM_GEN_MODE_UP_DOWN | PWM_GEN_MODE_NO_SYNC); //Set the Period (expressed in clock ticks) PWMGenPeriodSet(PWM1_BASE, PWM_GEN_2, ulPeriod); PWMGenPeriodSet(PWM1_BASE, PWM_GEN_3, ulPeriod); //Set PWM duty-50% (Period /2) PWMPulseWidthSet(PWM1_BASE, PWM_OUT_5,ulPeriod/2); PWMPulseWidthSet(PWM1_BASE, PWM_OUT_6,ulPeriod/2); PWMPulseWidthSet(PWM1_BASE, PWM_OUT_7,ulPeriod/2); // Enable the PWM generator PWMGenEnable(PWM1_BASE, PWM_GEN_2); PWMGenEnable(PWM1_BASE, PWM_GEN_3); // Turn on the Output pins PWMOutputState(PWM1_BASE, PWM_OUT_5_BIT |PWM_OUT_6_BIT|PWM_OUT_7_BIT, true); //Do nothing while(1) { } }
  8. Like
    lawrence_jeff got a reaction from bluehash in Launchpad USB example and documentation additions/labs   
    If you try to use this code on a Tiva Launchpad note this important required change
     
    http://processors.wiki.ti.com/index.php/Tiva_C_USB_Mode_Force_Device
  9. Like
    lawrence_jeff got a reaction from bluehash in Using Hardware PWM on Tiva Launchpad   
    PWM is much easier on the new Launchpad using the PWM peripherals, here is a working example using the 3 onboard LEDs.
    #include <stdint.h> #include <stdbool.h> #include "inc/hw_gpio.h" #include "inc/hw_types.h" #include "inc/hw_memmap.h" #include "driverlib/sysctl.h" #include "driverlib/pin_map.h" #include "driverlib/gpio.h" #include "driverlib/pwm.h" int main(void) { unsigned long ulPeriod; //Set the clock SysCtlClockSet(SYSCTL_SYSDIV_1 | SYSCTL_USE_OSC | SYSCTL_OSC_MAIN | SYSCTL_XTAL_16MHZ); //Configure PWM Clock to match system SysCtlPWMClockSet(SYSCTL_PWMDIV_1); // Enable the peripherals used by this program. SysCtlPeripheralEnable(SYSCTL_PERIPH_GPIOF); SysCtlPeripheralEnable(SYSCTL_PERIPH_PWM1); //The Tiva Launchpad has two modules (0 and 1). Module 1 covers the LED pins ulPeriod = SysCtlClockGet() / 200; //PWM frequency 200HZ //Configure PF1,PF2,PF3 Pins as PWM GPIOPinConfigure(GPIO_PF1_M1PWM5); GPIOPinConfigure(GPIO_PF2_M1PWM6); GPIOPinConfigure(GPIO_PF3_M1PWM7); GPIOPinTypePWM(GPIO_PORTF_BASE, GPIO_PIN_1 | GPIO_PIN_2 | GPIO_PIN_3); //Configure PWM Options //PWM_GEN_2 Covers M1PWM4 and M1PWM5 //PWM_GEN_3 Covers M1PWM6 and M1PWM7 See page 207 4/11/13 DriverLib doc PWMGenConfigure(PWM1_BASE, PWM_GEN_2, PWM_GEN_MODE_UP_DOWN | PWM_GEN_MODE_NO_SYNC); PWMGenConfigure(PWM1_BASE, PWM_GEN_3, PWM_GEN_MODE_UP_DOWN | PWM_GEN_MODE_NO_SYNC); //Set the Period (expressed in clock ticks) PWMGenPeriodSet(PWM1_BASE, PWM_GEN_2, ulPeriod); PWMGenPeriodSet(PWM1_BASE, PWM_GEN_3, ulPeriod); //Set PWM duty-50% (Period /2) PWMPulseWidthSet(PWM1_BASE, PWM_OUT_5,ulPeriod/2); PWMPulseWidthSet(PWM1_BASE, PWM_OUT_6,ulPeriod/2); PWMPulseWidthSet(PWM1_BASE, PWM_OUT_7,ulPeriod/2); // Enable the PWM generator PWMGenEnable(PWM1_BASE, PWM_GEN_2); PWMGenEnable(PWM1_BASE, PWM_GEN_3); // Turn on the Output pins PWMOutputState(PWM1_BASE, PWM_OUT_5_BIT |PWM_OUT_6_BIT|PWM_OUT_7_BIT, true); //Do nothing while(1) { } }
  10. Like
    lawrence_jeff got a reaction from hoangnguyen578 in Launchpad USB example and documentation additions/labs   
    Check out these links
     
    http://www.waitingforfriday.com/index.php/USB_Generic_HID_Open_Source_Framework_for_Atmel_AVR_and_Windows
    http://www.waitingforfriday.com/index.php/Open_Source_Framework_for_USB_Generic_HID_devices_based_on_the_PIC18F_and_Windows
     
    Once you have an OS side applicaton it should be a matter of just using my examples with a customized descriptor (You can dig through the PIC code above to find the descriptor those examples use). If I get a chance I can try to update my examples to include one of these (I think it would be similair to the volume control example except you would make it a generic device and you would have to write the OS side code to send/recieve instead of relying on the HID volume driver included in the OS)
     
    Jeff
  11. Like
    lawrence_jeff got a reaction from hoangnguyen578 in Launchpad USB example and documentation additions/labs   
    For those of you attempting to build USB devices I put together some Launchpad examples as well as a lab type walkthrough of how to create custom devices (mainly HID)
     
    Included
     
    1) Examples ported to the Launchpad  - Mouse, Keyboard, Composite
    2) Updated HID header file with additional device and usage types
    3) A new device type called usbdhidcustom - This allows you to make new devices with minimal code changes
    4) A complete document in lab type format where you build a volume control device, a gamepad and a keyboard + mouse
    5) Completed projects to go with the labs
     
     
     
     
     
    StellarisWare.zip
  12. Like
    lawrence_jeff got a reaction from gautham1 in Launchpad USB example and documentation additions/labs   
    Check out these links
     
    http://www.waitingforfriday.com/index.php/USB_Generic_HID_Open_Source_Framework_for_Atmel_AVR_and_Windows
    http://www.waitingforfriday.com/index.php/Open_Source_Framework_for_USB_Generic_HID_devices_based_on_the_PIC18F_and_Windows
     
    Once you have an OS side applicaton it should be a matter of just using my examples with a customized descriptor (You can dig through the PIC code above to find the descriptor those examples use). If I get a chance I can try to update my examples to include one of these (I think it would be similair to the volume control example except you would make it a generic device and you would have to write the OS side code to send/recieve instead of relying on the HID volume driver included in the OS)
     
    Jeff
  13. Like
    lawrence_jeff got a reaction from wpaulson in Launchpad USB example and documentation additions/labs   
    For those of you attempting to build USB devices I put together some Launchpad examples as well as a lab type walkthrough of how to create custom devices (mainly HID)
     
    Included
     
    1) Examples ported to the Launchpad  - Mouse, Keyboard, Composite
    2) Updated HID header file with additional device and usage types
    3) A new device type called usbdhidcustom - This allows you to make new devices with minimal code changes
    4) A complete document in lab type format where you build a volume control device, a gamepad and a keyboard + mouse
    5) Completed projects to go with the labs
     
     
     
     
     
    StellarisWare.zip
  14. Like
    lawrence_jeff got a reaction from bluehash in Launchpad USB example and documentation additions/labs   
    Check out these links
     
    http://www.waitingforfriday.com/index.php/USB_Generic_HID_Open_Source_Framework_for_Atmel_AVR_and_Windows
    http://www.waitingforfriday.com/index.php/Open_Source_Framework_for_USB_Generic_HID_devices_based_on_the_PIC18F_and_Windows
     
    Once you have an OS side applicaton it should be a matter of just using my examples with a customized descriptor (You can dig through the PIC code above to find the descriptor those examples use). If I get a chance I can try to update my examples to include one of these (I think it would be similair to the volume control example except you would make it a generic device and you would have to write the OS side code to send/recieve instead of relying on the HID volume driver included in the OS)
     
    Jeff
  15. Like
    lawrence_jeff got a reaction from konoha_nan in SR04 Ultrasonic Driver   
    Attached find a driver for an HC-SR04 ultrasonic distance sensor (configurable for other similar devices)
    I had a lot of issues with the sensors operating very unreliably when they operate beyond max distance so there is a bit of additional code to handle this
    It supports single pings, multiple pings (with and without averaging) and a continual ping mode driven by a timer - so you can start it and then just check a variable at any time to get the most current measurement. Also supports returning statistics on the ping history
     
    I'm still new to Stellaris and C in general so probably more bloated than it needs to be feel free to suggest better ways of doing things - I'm still learning and open to feedback.
     
     
    Also a few questions
    1) Is there a better way to dynamically pass the port/pin assignments dynamically instead of using a header file - I guess I'm more used to object oriented approaches where it would be easier to instantiate multiple instances of a driver to support multiple devices.
    2) Is there a better way to return data from an ISR than a global variable?
    3) Any good examples of a driver for a device that returns data -most of the examples I found are one way
     
    Anyway hope someone can use it.
     
     
    HC_SR04.zip
  16. Like
    lawrence_jeff got a reaction from bluehash in SR04 Ultrasonic Driver   
    Attached find a driver for an HC-SR04 ultrasonic distance sensor (configurable for other similar devices)
    I had a lot of issues with the sensors operating very unreliably when they operate beyond max distance so there is a bit of additional code to handle this
    It supports single pings, multiple pings (with and without averaging) and a continual ping mode driven by a timer - so you can start it and then just check a variable at any time to get the most current measurement. Also supports returning statistics on the ping history
     
    I'm still new to Stellaris and C in general so probably more bloated than it needs to be feel free to suggest better ways of doing things - I'm still learning and open to feedback.
     
     
    Also a few questions
    1) Is there a better way to dynamically pass the port/pin assignments dynamically instead of using a header file - I guess I'm more used to object oriented approaches where it would be easier to instantiate multiple instances of a driver to support multiple devices.
    2) Is there a better way to return data from an ISR than a global variable?
    3) Any good examples of a driver for a device that returns data -most of the examples I found are one way
     
    Anyway hope someone can use it.
     
     
    HC_SR04.zip
  17. Like
    lawrence_jeff got a reaction from Rickta59 in Launchpad USB example and documentation additions/labs   
    For those of you attempting to build USB devices I put together some Launchpad examples as well as a lab type walkthrough of how to create custom devices (mainly HID)
     
    Included
     
    1) Examples ported to the Launchpad  - Mouse, Keyboard, Composite
    2) Updated HID header file with additional device and usage types
    3) A new device type called usbdhidcustom - This allows you to make new devices with minimal code changes
    4) A complete document in lab type format where you build a volume control device, a gamepad and a keyboard + mouse
    5) Completed projects to go with the labs
     
     
     
     
     
    StellarisWare.zip
  18. Like
    lawrence_jeff got a reaction from ronszon1426459902 in Launchpad USB example and documentation additions/labs   
    For those of you attempting to build USB devices I put together some Launchpad examples as well as a lab type walkthrough of how to create custom devices (mainly HID)
     
    Included
     
    1) Examples ported to the Launchpad  - Mouse, Keyboard, Composite
    2) Updated HID header file with additional device and usage types
    3) A new device type called usbdhidcustom - This allows you to make new devices with minimal code changes
    4) A complete document in lab type format where you build a volume control device, a gamepad and a keyboard + mouse
    5) Completed projects to go with the labs
     
     
     
     
     
    StellarisWare.zip
  19. Like
    lawrence_jeff got a reaction from juani_c in Launchpad USB example and documentation additions/labs   
    For those of you attempting to build USB devices I put together some Launchpad examples as well as a lab type walkthrough of how to create custom devices (mainly HID)
     
    Included
     
    1) Examples ported to the Launchpad  - Mouse, Keyboard, Composite
    2) Updated HID header file with additional device and usage types
    3) A new device type called usbdhidcustom - This allows you to make new devices with minimal code changes
    4) A complete document in lab type format where you build a volume control device, a gamepad and a keyboard + mouse
    5) Completed projects to go with the labs
     
     
     
     
     
    StellarisWare.zip
  20. Like
    lawrence_jeff got a reaction from reaper7 in Launchpad USB example and documentation additions/labs   
    For those of you attempting to build USB devices I put together some Launchpad examples as well as a lab type walkthrough of how to create custom devices (mainly HID)
     
    Included
     
    1) Examples ported to the Launchpad  - Mouse, Keyboard, Composite
    2) Updated HID header file with additional device and usage types
    3) A new device type called usbdhidcustom - This allows you to make new devices with minimal code changes
    4) A complete document in lab type format where you build a volume control device, a gamepad and a keyboard + mouse
    5) Completed projects to go with the labs
     
     
     
     
     
    StellarisWare.zip
  21. Like
    lawrence_jeff got a reaction from bluehash in Launchpad USB example and documentation additions/labs   
    For those of you attempting to build USB devices I put together some Launchpad examples as well as a lab type walkthrough of how to create custom devices (mainly HID)
     
    Included
     
    1) Examples ported to the Launchpad  - Mouse, Keyboard, Composite
    2) Updated HID header file with additional device and usage types
    3) A new device type called usbdhidcustom - This allows you to make new devices with minimal code changes
    4) A complete document in lab type format where you build a volume control device, a gamepad and a keyboard + mouse
    5) Completed projects to go with the labs
     
     
     
     
     
    StellarisWare.zip
  22. Like
    lawrence_jeff got a reaction from Automate in Launchpad USB example and documentation additions/labs   
    For those of you attempting to build USB devices I put together some Launchpad examples as well as a lab type walkthrough of how to create custom devices (mainly HID)
     
    Included
     
    1) Examples ported to the Launchpad  - Mouse, Keyboard, Composite
    2) Updated HID header file with additional device and usage types
    3) A new device type called usbdhidcustom - This allows you to make new devices with minimal code changes
    4) A complete document in lab type format where you build a volume control device, a gamepad and a keyboard + mouse
    5) Completed projects to go with the labs
     
     
     
     
     
    StellarisWare.zip
×
×
  • Create New...