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

Search:

Type: Posts; User: blackketter

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    12
    Views
    1,695

    Anthony, that's excellent work! I'm currently...

    Anthony, that's excellent work! I'm currently trying to repackage your lua-teensyduino into an Arduino library that can be added to any project that needs a Lua interpreter.

    I've found that if...
  2. Replies
    1
    Views
    200

    In your platform.ini file, add a line like: ...

    In your platform.ini file, add a line like:

    board_build.f_cpu = 72000000

    in the env section. That's what I have.
  3. Replies
    3
    Views
    435

    I was SOOOO impressed by this work when I watched...

    I was SOOOO impressed by this work when I watched the show to the point of distraction. Just beautiful.

    Thanks for sharing some of the behind the scenes magic.
  4. Replies
    15
    Views
    1,009

    Sure thing. Platformio is a system that...

    Sure thing. Platformio is a system that automates the build environment for embedded applications. It runs on Mac/Windows/Linux and supports hundreds of hardware boards (like Teensy), twenty or so...
  5. Replies
    15
    Views
    1,009

    Check out Platformio at https://platformio.org ...

    Check out Platformio at https://platformio.org

    It has terrific support for Teensy and Arduino, plus tons of other boards, platforms and frameworks. Kind of amazing, actually.

    It's free and...
  6. Nice. Any reason not to do both? I have a...

    Nice. Any reason not to do both?

    I have a console library that works over USB serial that might be a good fit for controlling the thing. https://github.com/blackketter/Console

    I'd love to...
  7. This is pretty cool! What's the plan for the...

    This is pretty cool! What's the plan for the software side?
  8. No, PlatformIO provides its own build system and...

    No, PlatformIO provides its own build system and doesn't use makefiles. Its configuration is remarkably simple, much simpler than make.
  9. very interesting! can you provide links to...

    very interesting!

    can you provide links to purchases the displays? Also, will you be sharing your software work?

    thanks!
  10. Replies
    1
    Views
    1,040

    I submitted a patch for this last year: ...

    I submitted a patch for this last year: https://github.com/PaulStoffregen/Audio/pull/175

    Let me know if that works for you and I'd be happy to update and resubmit...
  11. Replies
    5
    Views
    1,015

    This isn't the case. The compiler will optimize...

    This isn't the case. The compiler will optimize the constant value into the code without reserving memory for it.

    It's good form to avoid #defines whenever possible with modern compilers. The...
  12. Replies
    13
    Views
    6,080

    I agree with this sentiment. The forum isn't...

    I agree with this sentiment. The forum isn't well suited as a repository for frequently asked questions, hints and other reference material. It's painful at best.

    Unfortunately:



    How...
  13. I don't have a recommendation on Linux...

    I don't have a recommendation on Linux distributions for your Mac, but my understanding is that the "obsolete" designation is about being able to get service and support for the hardware.

    If your...
  14. Well, it's hard to definitively say but I've done...

    Well, it's hard to definitively say but I've done PlatformIO builds and uploads using a Raspberry Pi. Not super fast, but has been reliable for me.
  15. Heh, of course. I don't quite understand the DMA...

    Heh, of course. I don't quite understand the DMA engine and SPI vs. parallel controllers well enough to know where the bottlenecks are.

    Looking over the ILI9488 datasheet briefly, it seems that...
  16. One question, Paul: How much faster would the...

    One question, Paul: How much faster would the 8-bit parallel be relative to the speeds we're seeing with SPI on the ILI9341? 8x? 2x?
  17. I wonder if a 4.3" 480x272 (original PSP screen...

    I wonder if a 4.3" 480x272 (original PSP screen size) would be a better alternative for size and pixel density. It appears to be a very common size glass.
  18. I think this is a GREAT idea and would love to...

    I think this is a GREAT idea and would love to have such a display module. I'm definitely in favor of capacitive touch (two points is probably enough at that size) and reset, backlight PWM would...
  19. You should be able to add a line in each section...

    You should be able to add a line in each section like:

    board_f_cpu = 120000000

    Does that not work for you?
  20. Replies
    3
    Views
    2,226

    I know this was posted a while back, but it came...

    I know this was posted a while back, but it came up while I was searching for the same.

    I found this: https://github.com/XenGi/kicad_teensy and it looks good!
  21. Check out platformio.org (http://platformio.org),...

    Check out platformio.org, it's fast, reliable and cross platform. And most importantly, it's super easy to setup.
  22. Replies
    4
    Views
    924

    I needed to add this to my sketch to get printf...

    I needed to add this to my sketch to get printf to support floats on teensy:

    asm(".global _printf_float");

    Works in platformio for me.
  23. Thanks, Paul. I noticed that usb_serial.h has...

    Thanks, Paul.

    I noticed that usb_serial.h has this note, which might be relevant:

    virtual void flush() { usb_serial_flush_output(); } // TODO: actually wait for data to leave USB...
    ...
  24. Hm, I got lucky and found it quickly. Seems that...

    Hm, I got lucky and found it quickly. Seems that frequent calls to Serial.flush() can mess up HID devices. Try this:


    #include <Arduino.h>

    void setup() { } // no setup needed
    void loop() {...
  25. USB keyboard and mouse fails unless a serial connection is made

    I have a previously reliable app that does USB keyboard and mouse and serial.

    I just discovered that the mouse and keyboard events disappear unless I connect to the serial USB device. Connect...
  26. Replies
    7
    Views
    1,286

    I'm not a BSD user but platformio.org claims to...

    I'm not a BSD user but platformio.org claims to work under FreeBSD.

    I'd give that a shot, platform.io is awesome.
  27. I've got a project that's using FastLED and...

    I've got a project that's using FastLED and Arduino on just an ESP8266 board without Teensy. Works great. I'm using the WeMos D1 Mini, but I don't see any reason why you couldn't use the Huzzah...
  28. Check out http://platformio.org It's highly...

    Check out http://platformio.org

    It's highly configurable and super easy to get going. Plus the support is awesome. I've completely uninstalled the Arduino app but build arduino-based...
  29. Thread: WebUSB

    by blackketter
    Replies
    4
    Views
    1,905

    I saw this too and was wondering the same thing. ...

    I saw this too and was wondering the same thing. I tried it out with Chrome and an AVR Arduino and it works as advertised, I also see that there's some work being done on Firefox. It would be great...
  30. Replies
    25
    Views
    5,636

    @KurtE: Have you done any benchmarks on the...

    @KurtE: Have you done any benchmarks on the performance of the current opaque text? It would interesting to know which cases are slow. I personally haven't had any issues with opaque text drawing...
  31. Replies
    25
    Views
    5,636

    Can you post the specific error results for the...

    Can you post the specific error results for the tft.setFont() that's failing?

    I'm not sure why the setClipRect is behaving like that... Is it possible you are using the wrong library somehow?
  32. Replies
    25
    Views
    5,636

    yup or setFont(NULL);

    yup or setFont(NULL);
  33. Replies
    25
    Views
    5,636

    That's exactly right, the background fills to the...

    That's exactly right, the background fills to the full height of the font, not of the individual character.

    You can use the clipping feature of the library to clip to the area that you want to...
  34. Replies
    25
    Views
    5,636

    I've submitted a patch to the library that does...

    I've submitted a patch to the library that does fast opaque (different background and foreground color) that hopefully will be accepted soon.

    In the mean time, try this: ...
  35. Replies
    7
    Views
    2,965

    Thanks for the pointer, I'll give it a shot...

    Thanks for the pointer, I'll give it a shot...
  36. Replies
    7
    Views
    2,965

    Maybe I'm missing something, but the Time library...

    Maybe I'm missing something, but the Time library deals only with second-level accuracy, as does Teensy3Clock.set(). With an accurate external clock (NTP, say) it would be great to resync the RTC...
  37. Replies
    7
    Views
    2,965

    Thanks, this is great. Any idea how to _set_ the...

    Thanks, this is great. Any idea how to _set_ the RTC with ms accuracy?
  38. Replies
    3
    Views
    1,075

    That happened to me recently. I cut the head off...

    That happened to me recently. I cut the head off of it and put the two parts in separate waste bins. Just to be safe.
  39. Replies
    4
    Views
    2,505

    FWIW: Platform 3.0.1 w/ Teensyduino 1.30 seems to...

    FWIW: Platform 3.0.1 w/ Teensyduino 1.30 seems to work just fine with a Teensy 3.2 under Sierra.

    For some reason it's using Teensy Loader.app instead of the teensy loader CLI with a Teensy 3.6. ...
  40. Replies
    4
    Views
    2,505

    Well, I canít get the pristine Arduino app...

    Well, I canít get the pristine Arduino app (1.6.11 or 1.6.12 Hourly Build) to build and upload firmware reliably to an Arduino Leonardo under Sierra. :(

    Installing Teensyduino 1.30 to Arduino...
  41. Replies
    4
    Views
    2,505

    I'm switching back and forth between Sierra and...

    I'm switching back and forth between Sierra and El Capitan and haven't found anything seriously broken.

    Anything in particular you'd like me to try?
  42. Replies
    1,558
    Views
    502,225

    Also works on MacOS Sierra!

    Also works on MacOS Sierra!
  43. Replies
    1,558
    Views
    502,225

    Success on 3.6_Proto, Mac OS El Capitan, HEX file...

    Success on 3.6_Proto, Mac OS El Capitan, HEX file built via PlatformIO.
  44. Replies
    3
    Views
    1,666

    Consider using some low profile headers to space...

    Consider using some low profile headers to space the T3.2 from the board like these:
    8161

    There are, of course, surface mount versions and some nice low profile sockets that can also work.
  45. Replies
    9
    Views
    1,236

    There is a teensy_loader_cli that does this. See...

    There is a teensy_loader_cli that does this. See https://www.pjrc.com/teensy/loader_cli.html

    The easiest solution to install and use the teensy_loader_cli may be to install the PlatformIO CLI,...
  46. I submitted a patch with flicker-free background...

    I submitted a patch with flicker-free background color drawing for external fonts, text measuring methods, as well as a bunch of fixes for clipping bugs (and the ability to do global clipping in a...
  47. Replies
    80
    Views
    46,085

    Sticky: Float support in printf and scanf: ...

    Float support in printf and scanf:

    https://forum.pjrc.com/threads/27827-Float-in-sscanf-on-Teensy-3-1
  48. Replies
    5
    Views
    7,103

    I can recommend using the PlatformIO command-line...

    I can recommend using the PlatformIO command-line build tools.

    Very customizable and builds much faster than the Arduino IDE.

    http://platformio.org
  49. I'm doing it fine using teensy_loader_cli as...

    I'm doing it fine using teensy_loader_cli as provided by Platformio with a Teensy 3.1 and Raspberry Pi 2.
  50. I'm having some success using Platformio...

    I'm having some success using Platformio command line environment to build and upload from my Raspberry Pi 2. Much faster than the Arduino IDE.

    I hit a bug that the Platformio team gave me a...
Results 1 to 50 of 92
Page 1 of 2 1 2