Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: anthonysavatar

Search: Search took 0.00 seconds.

  1. Replies
    13
    Views
    2,145

    Thanks for putting that together! I'm happy to...

    Thanks for putting that together! I'm happy to help get it working on other platforms. Making it easy for users to load Lua files from other sources besides strings will be good. Like external flash...
  2. Replies
    13
    Views
    2,145

    For anyone interested in this I've got an example...

    For anyone interested in this I've got an example of running Lua 5.1.5 on a Teensy 3.6 here: https://github.com/AnthonyDiGirolamo/lua-teensyduino

    It contains a simple repl and examples of how to...
  3. This has been working nicely for my T 3.2 and 3.6...

    This has been working nicely for my T 3.2 and 3.6 projects https://github.com/apmorton/teensy-template
  4. Replies
    3
    Views
    932

    Hi all! I tested the latest revision of this...

    Hi all! I tested the latest revision of this board and all works nicely.

    KiCad PCB files, Fusion360 model links, STLs and example Arduino keyboard firmware sketch available at:...
  5. Replies
    3
    Views
    932

    [posted] Teensy Thumb Keyboard

    Hi all! Here is a breakout board I put together in the shape of a thumb keyboard for the Teensy 3.2.

    15137

    Features

    Beginner friendly through hole soldering.
    60 keys arranged in a...
  6. Replies
    13
    Views
    2,145

    Just noticed this:...

    Just noticed this: https://github.com/BleuLlama/TinyBasicPlus/

    It's not Lua but is written with arduinos in mind. Might work out of the box on the Teensy.
  7. Replies
    13
    Views
    2,145

    @ohthepain do you have a repo or any examples of...

    @ohthepain do you have a repo or any examples of getting it to compile?
  8. The controllers are stuck on there :-) I only...

    The controllers are stuck on there :-) I only made the case kinda look like a switch. Here are some pics with the case off:...
  9. I've had a lot of fun with the ILI9341 displays...

    I've had a lot of fun with the ILI9341 displays as well. https://youtu.be/RK0VyQ14qFc that one is a 2.8 inch one from adafruit.

    Now I'm playing around with a gameduino3...
  10. Replies
    64
    Views
    24,797

    Using a hardware debugger with the Teensy 3.6...

    Using a hardware debugger with the Teensy 3.6 would be amazing. What are the chances of being able to use the debug pads without tying pin 15 of the KL02Z (reset pin) to VSS? I don't trust my fine...
  11. Replies
    0
    Views
    496

    Teensy Pin Planner Spreadsheet

    I'm sure someone has already done this but here is a google sheet with the teensy 3.2 pins broken out into rows.
    ...
  12. Replies
    13
    Views
    2,145

    I think the best option may be to use the Lua src...

    I think the best option may be to use the Lua src that is part of eLua. https://github.com/elua/elua/tree/master/src/lua I wasn't able to fully get it compiled. Most of the errors were for other...
  13. Replies
    155
    Views
    16,934

    Sorry, RFM95W I meant. This:...

    Sorry, RFM95W I meant. This: https://www.adafruit.com/product/3072

    Yeah was planning on using it on the teensy side.
  14. Replies
    155
    Views
    16,934

    This looks amazing! I've been wanting to make a...

    This looks amazing! I've been wanting to make a board with a teensy 3.6, esp8266 and rfw95w. Not having to program both the teensy and the esp independently with separate connections would be...
  15. Replies
    13
    Views
    2,145

    Lua interpreter example?

    I'd like to be able to run some scripts from an SD card to control application behavior. Has anyone tried this using Lua on the Teensy 3.6?

    I'm aware of eLua but don't want to run the whole...
  16. Replies
    9
    Views
    2,031

    This sounds like a great idea. I was thinking of...

    This sounds like a great idea. I was thinking of making something along the same lines but more of a UI for making music. Like a much simpler version of sunvox. I've currently got a perf board...
  17. Why not map the analog joystick values from...

    Why not map the analog joystick values from 0...1024 to a point on the unit circle (-1.0...1.0)?


    include <math.h>

    float xcoord = (float) x * (2/1024) - 1.0;
    float ycoord = (float) y *...
  18. Hey Duhjoker, do you have a complete code listing...

    Hey Duhjoker, do you have a complete code listing someplace? On GitHub? Maybe I could upload it to my teensy with the two joy feather wings connected and see what's up. I'm having a hard time piecing...
  19. Up to you. You'll have to try it and see what...

    Up to you. You'll have to try it and see what works the best for you.

    Here's what I used for both on separate busses:



    #include "input.h"

    Input controller;
  20. Replies
    8
    Views
    1,776

    I've been enjoying using these proto boards....

    I've been enjoying using these proto boards. https://www.amazon.com/gp/aw/d/B06Y2CYYLZ/

    They have double sided through holes. On one side is a horizontal trace on the other vertical. Holes can be...
  21. That diagram isn't great. I kept the wires at...

    That diagram isn't great. I kept the wires at right angles because of the type of prototyping board I was using. The i2c connections only connect from each joypad to the teensy i2c pins. The...
  22. Here is the diagram with charge sharing (I...

    Here is the diagram with charge sharing (I think). This is completely untested. Based on this description: http://blog.zakkemble.co.uk/a-lithium-battery-charger-with-load-sharing/ Parts I was...
  23. No problem. Here is a fritzing diagram. 12406...

    No problem. Here is a fritzing diagram.

    12406

    12407

    Since building this I've learned that you can't simultaneously charge the battery and use the teensy at the same time. Power to the...
  24. Thanks for the heads up! I did originally try the...

    Thanks for the heads up! I did originally try the DMA approach. Here are the pins I'm using:


    #define TFT_DC 20
    #define TFT_CS 9
    #define TFT_MOSI 7
    #define TFT_MISO 12
    #define TFT_SCLK 14
    ...
  25. I really liked the idea of the joy featherwing....

    I really liked the idea of the joy featherwing. It definitely reduces the wiring for buttons a great deal. The onboard ATSAMD09 seems to take care of the debouncing too. Bad news for me is that it...
  26. The wiring diagram may not have the correct...

    The wiring diagram may not have the correct resistor value displayed. It was a 10mega-ohm 1/4w resistor. You can substitute anything from 1 to 10 mega-ohm values. Lower values just draw more current...
  27. I used 1/4w resistors and the capacitors I had on...

    I used 1/4w resistors and the capacitors I had on hand were these: https://moderndevice.com/product/capacitor-0-1-uf-104-bag-of-30/
  28. I mean a 10 mega ohm resistor. That and the...

    I mean a 10 mega ohm resistor. That and the capacitor are just for measuring the battery voltage which is above 3.3v. You could use 10k ohm resistors but it will drain the battery faster. It's all...
  29. Thanks for the great ideas Kurt! I am already...

    Thanks for the great ideas Kurt! I am already doing option C and using 8bit colors. Actually only 16 colors so far. I may make a generalized version of the 8bit approach for others looking to save...
  30. Thanks for all the work on this library KurtE! ...

    Thanks for all the work on this library KurtE!

    I've got one of these 2.4" displays and the 320x240 resolution is a bit hard to see on such a small screen when text isn't larger. So I was thinking...
  31. The 3.77v shown on the screen is the Teensy...

    The 3.77v shown on the screen is the Teensy measuring the lipo battery using a voltage divider. The screen and teensy are all running at 3.3v (from the Pololu voltage regulator). Here is a good...
  32. Here's the list so far: Teensy 3.6...

    Here's the list so far:


    Teensy 3.6
    2x Adafruit Joy FeatherWing
    TFT FeatherWing - 2.4 320x240 Touchscreen
    Pololu 3.3V Step-Up/Step-Down Voltage Regulator S7V8F3
    Adafruit Micro Lipo...
  33. Made some progress on the hardware this weekend....

    Made some progress on the hardware this weekend.
    It still needs the audio board and a 3d printed case.

    120471204812049
  34. Teensy 3.6 DAC0/1 to Audio Board Headphone amp

    Hi all,

    Apologies if this is covered elsewhere in the forum, I wasn't able to find it.

    Is it possible to use Teensy 3.6 DACs with the audio board line-in?

    What connections are needed for...
  35. This is a pretty good tutorial....

    This is a pretty good tutorial. http://www.roguebasin.com/index.php?title=Complete_roguelike_tutorial_using_C%2B%2B_and_libtcod_-_part_1:_setting_up it uses libtcod which is a game development...
  36. SD Card bootloader would be nice but probably not...

    SD Card bootloader would be nice but probably not easily done. FrankB tried it here but it wasn't reliable: https://forum.pjrc.com/threads/30723-SD-Bootloader?highlight=card+bootloader
  37. My plan was to try to port most of the TIC-80...

    My plan was to try to port most of the TIC-80 features as possible and use code from the gamebuino repo where applicable and FrankB's ILI9341 optimizations.
  38. Yeah I'm mainly doing this to get used to c++ on...

    Yeah I'm mainly doing this to get used to c++ on embedded hardware.

    Ok I'm just typing this as I think about it. Let's say you have a sprite sheet of 8x8 sprites stored as a 320x240 bmp on the SD...
  39. What is the issue with the tilemap? Can't it be...

    What is the issue with the tilemap? Can't it be stored in progmem instead of ram? Sorry I haven't read through your code yet.

    I was assuming compiled games could be stored as .hex files on the...
  40. Is this the function you're looking for?...

    Is this the function you're looking for? https://github.com/adafruit/Adafruit_ILI9341/blob/master/examples/fulltest_featherwing/fulltest_featherwing.ino#L125

    I ordered a few parts and am looking...
  41. I'm looking to do something similar. Here's what...

    I'm looking to do something similar. Here's what I've already ordered. My question is can I connect the output from the step-up/step-down regulator to 3.3v pin on the teensy 3.6? Is there a different...
Results 1 to 41 of 41