Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 3 of 3

Thread: TeensyMM SparkFun Input and Display Board demo

  1. #1
    Senior Member
    Join Date
    Jul 2015
    Posts
    118

    TeensyMM SparkFun Input and Display Board demo

    Here is a program I wrote to demonstrate all the features of the SparkFun MicroMod Input and Display Board when using a TeensyMM processor:

    Click image for larger version. 

Name:	TeensyMM_Demo_small.jpg 
Views:	15 
Size:	130.9 KB 
ID:	25898

    Features are:

    2.4" TFT ILI9341 display
    various buttons/joystick
    microSD slot
    6 APA102 LEDs
    Buzzer

    The file is at https://github.com/LAtimes2/TeensyMM..._Display_Board

  2. #2
    Senior Member+ mjs513's Avatar
    Join Date
    Jul 2014
    Location
    New York
    Posts
    7,555
    Quote Originally Posted by LAtimes View Post
    Here is a program I wrote to demonstrate all the features of the SparkFun MicroMod Input and Display Board when using a TeensyMM processor:

    Click image for larger version. 

Name:	TeensyMM_Demo_small.jpg 
Views:	15 
Size:	130.9 KB 
ID:	25898

    Features are:

    2.4" TFT ILI9341 display
    various buttons/joystick
    microSD slot
    6 APA102 LEDs
    Buzzer

    The file is at https://github.com/LAtimes2/TeensyMM..._Display_Board
    Nice work. Very cool example using all the features of the Input/Display board. During beta testing I only played with the display using @KurtE's ILI9341 library and like you found the inverted display requirement. Left on that note since I was primarily using the ATP board or Paul's beta test board for camera development.

  3. #3
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    15,093
    Cool it shows all the stuff working!

    Needed these two libs:
    sparkfun/SparkFun_MicroMod_Button_Arduino_Library
    adafruit/Adafruit_DotStar

    One warning:
    Code:
    D:\Tim\documents\GitHub\TeensyMM_Input_Display_Board\TeensyMM_Input_Display_Board.ino:342:7: warning: unused variable 'leftPressedTime' [-Wunused-variable]
       int leftPressedTime = 0;
           ^
    Not too big for all the libs it calls on:
    Code:
    teensy_size: Memory Usage on Teensy MicroMod:
    teensy_size:   FLASH: code:54104, data:6484, headers:9040   free for files:16445444
    teensy_size:    RAM1: variables:17088, code:52184, padding:13352   free for local variables:441664
    teensy_size:    RAM2: variables:12384  free for malloc/new:511904
    Multiple libraries were found for "SD.h"
     Used: C:\T_Drive\Arduino_1.8.16_155\hardware\teensy\avr\libraries\SD
     Not used: C:\T_Drive\Arduino_1.8.16_155\libraries\SD
    Using library Wire at version 1.0 in folder: C:\T_Drive\Arduino_1.8.16_155\hardware\teensy\avr\libraries\Wire 
    Using library ILI9341_t3 at version 1.0 in folder: C:\T_Drive\Arduino_1.8.16_155\hardware\teensy\avr\libraries\ILI9341_t3 
    Using library SPI at version 1.0 in folder: C:\T_Drive\Arduino_1.8.16_155\hardware\teensy\avr\libraries\SPI 
    Using library SparkFun_MicroMod_Button_Arduino_Library-master at version 1.0.0 in folder: C:\T_Drive\tCode\libraries\SparkFun_MicroMod_Button_Arduino_Library-master 
    Using library Adafruit_DotStar-master at version 1.1.4 in folder: C:\T_Drive\tCode\libraries\Adafruit_DotStar-master 
    Using library SD at version 2.0.0 in folder: C:\T_Drive\Arduino_1.8.16_155\hardware\teensy\avr\libraries\SD 
    Using library SdFat at version 2.0.5-beta.1 in folder: C:\T_Drive\Arduino_1.8.16_155\hardware\teensy\avr\libraries\SdFat

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •