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

Search:

Type: Posts; User: pictographer

Page 1 of 10 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    1
    Views
    88

    If you think of a photodiode as a single pixel...

    If you think of a photodiode as a single pixel camera, you can make a very low resolution color detector by using three of them. Either get ones that target the color frequencies you care about or...
  2. Replies
    51
    Views
    2,088

    I second this. Paul and the community here are...

    I second this. Paul and the community here are amazing at providing help to anyone willing to share code and follow up reasonably. Many of the amazing libraries that make Teensys so useful are...
  3. Replies
    10
    Views
    611

    I did have a second copy of arduino-1.8.12. When...

    I did have a second copy of arduino-1.8.12. When I sorted that and upgraded to Arduino 1.8.13 and Teensyduino 1.53, I was able to remove nano.spec, but on a Teensy LC,
    Serial.printf("Using...
  4. With the touchRead sense wire just pressing...

    With the touchRead sense wire just pressing against the metal case, the difference between touch and no touch was about two counts. Now with a bit of magnet wire taped to the inside of the case over...
  5. Replies
    10
    Views
    611

    Thanks, Paul. I did search for other copies of...

    Thanks, Paul.

    I did search for other copies of boards.txt and none of the others mentioned the Teensy LC. Haven't yet tried updating Arduino and Teensyduino. Verbose output still includes...
  6. Replies
    10
    Views
    611

    I edited boards.txt and restarted arduino....

    I edited boards.txt and restarted arduino. Haven't been able to make it work. It appears the changes to boards.txt didn't take effect.


    teensyLC.menu.opt.osstd=Smallest Code...
  7. touchRead() but only with bad soldering

    My latest project is a desk light. It uses a Teensy LC in an electrical junction box 4"x2"x1.5" made of metal that's about a 1/16" thick. While I was refining it, I had a wire soldered from Teensy LC...
  8. Replies
    10
    Views
    611

    Thanks, manitou! Since my needs are modest,...

    Thanks, manitou!

    Since my needs are modest, I'm getting by with Serial.println() which does print floats okay. Was reporting the bug in case there was interest in fixing it. I mean, I can...
  9. Replies
    10
    Views
    611

    Tried Paul's magic trick from...

    Tried Paul's magic trick from https://forum.pjrc.com/threads/27827-Float-in-sscanf-on-Teensy-3-1?p=65321&viewfull=1#post65321 but no joy.
  10. Replies
    10
    Views
    611

    I haven't been able to make Serial.printf() print...

    I haven't been able to make Serial.printf() print floats on the Teensy LC with any of the compiler settings I've tried. Some settings produce no output. Some produce different memory garbage. The...
  11. Replies
    797
    Views
    49,830

    Same issue for Mouse.h. Removing Mouse.h and...

    Same issue for Mouse.h. Removing Mouse.h and Keyboard.h allows the KeyboardAndMouseControl sketch to compile and run.



    Arduino: 1.8.12 (Linux), TD: 1.52-beta3, Board: "Teensy 4.1, Serial +...
  12. Replies
    797
    Views
    49,830

    Looks like keyboard emulation isn't there yet....

    Looks like keyboard emulation isn't there yet. Here's the example from https://www.pjrc.com/teensy/td_keyboard.html



    #include "Keyboard.h"


    int count = 0;
    void setup() { } // no setup...
  13. Replies
    797
    Views
    49,830

    I'm going to try to compile the examples in menu...

    I'm going to try to compile the examples in menu order starting from the top. I've made it through 01.Basic and 02.Digital so far with no issues other than spurious "An error occurred while uploading...
  14. Replies
    797
    Views
    49,830

    The Generate_Password example doesn't compile for...

    The Generate_Password example doesn't compile for the T4.1 beta doesn't compile.



    Arduino: 1.8.12 (Linux), TD: 1.52-beta3, Board: "Teensy 4.1, Serial, 600 MHz, Faster, US English"

    ...
  15. Replies
    797
    Views
    49,830

    An error occurred while uploading the sketch

    I've never been able to observe a pattern that explains when the program button needs to be pushed and when it doesn't.

    Just tried switching from my little Hello program to the FastLED demo...
  16. Replies
    797
    Views
    49,830

    Just got my T4.1 beta! It blinked as expected...

    Just got my T4.1 beta! It blinked as expected when I plugged it in to a USB port of my AMD A10-7800 radeon r7 running Ubuntu 19.10.

    My first upload attempt failed because I forgot to change the...
  17. Replies
    9
    Views
    851

    MCU trends

    Interesting article on trends and trade-offs in MCU design: https://semiengineering.com/the-mcu-dilemma/
  18. Replies
    4,367
    Views
    585,137

    The TimeAlarm library appears to work. I ran the...

    The TimeAlarm library appears to work. I ran the TimeAlarmExample.pde from Paul's github repo. Here's the output:

    14:23:02.018 -> 8:29:0014:23:02.952 -> 8:29:01
    14:23:03.944 -> 2 second timer...
  19. Replies
    4,367
    Views
    585,137

    @defragster, thank you. The time appears to be...

    @defragster, thank you.

    The time appears to be set reasonably by the TeensyLoader. I modified the example to report the time during setup. The example does not recognize that the Teensy is...
  20. Replies
    4,367
    Views
    585,137

    The Time library used in the TimeSerial example...

    The Time library used in the TimeSerial example documented in https://www.pjrc.com/teensy/td_libs_Time.html works.

    To set the time, I needed to use /dev/ttyACM1 because I had a Teensy LC at...
  21. Replies
    4,367
    Views
    585,137

    The Metro library appears to work, but the...

    The Metro library appears to work, but the example at https://www.pjrc.com/teensy/td_libs_Metro.html uses the obsolete BYTE constant and fails to compile for this reason. I'm not sure if the timing...
  22. Replies
    4,367
    Views
    585,137

    KeyPad library appears to work. Very lightly...

    KeyPad library appears to work. Very lightly tested. Used the example from https://www.pjrc.com/teensy/td_libs_Keypad.html
  23. Replies
    4,367
    Views
    585,137

    The EEPROM library appears to work. I tried...

    The EEPROM library appears to work. I tried EEPROM.wriite() and EEPROM.read(). Looks like 1024 bytes as of 1.47-beta4.
  24. Replies
    4,367
    Views
    585,137

    The CryptoAccel library does not appear to be...

    The CryptoAccel library does not appear to be working.

    Tried manitou's code from Teensy 3.6 testing in post...
  25. Replies
    4,367
    Views
    585,137

    Hi firehopper, I just got my T4 Beta 2...

    Hi firehopper,

    I just got my T4 Beta 2 hardware today and installed 1.47-beta4. Tried compiling my Fast LED sketch for an APA102 strip. Where is the patch you mentioned?


    When I try to build...
  26. Replies
    5
    Views
    628

    If you're up for it, I think you can make it more...

    If you're up for it, I think you can make it more convenient and more secure. What you described doesn't protect against replay attacks. Imagine the attacker uses a Bus Pirate or USB protocol...
  27. Replies
    5
    Views
    628

    Should be possible. You control the software at...

    Should be possible. You control the software at both ends. The Teensy has persistent memory to store keys and licence parameters. The Teensy can run authentication algorithms and other crypto...
  28. In another thread, someone was asking about a...

    In another thread, someone was asking about a circuit activated by a vibration sensor but kept energized for the duration of a timer.

    I wonder if it would make sense to only power the teensy after...
  29. Since you mentioned a 555, it's pretty easy to...

    Since you mentioned a 555, it's pretty easy to add some resistors and capacitors to make a timer. Check out monostable mode.

    http://www.555-timer-circuits.com/operating-modes.html

    You can also...
  30. Very cool! Thanks for sharing this. This would be...

    Very cool! Thanks for sharing this. This would be great for the PJRC projects page.
  31. Here's what the verbose info from the Loader...

    Here's what the verbose info from the Loader says:

    18:39:24.365 (ports 2): Begin, version=1.46-beta1018:39:24.965 (ports 2): add device: subsys=usb, type=usb_device,...
  32. Here's an example of how the Teensy Loader...

    Here's an example of how the Teensy Loader application looks on Raspberry Pi W over VNC on Beta 10 and the previous release:

    16209
    It redraws reasonably quickly after I press the program button...
  33. Please post the complete sketch. Otherwise, we're...

    Please post the complete sketch. Otherwise, we're guessing.
  34. Kurt, I needed to install many packages to make...

    Kurt, I needed to install many packages to make vncserver work.

    Agreed that this platform is too slow to use for a desktop. My aim here is to help troubleshoot the bugs. Eventually, the RPi may...
  35. By came up blank, I mean the window appeared, but...

    By came up blank, I mean the window appeared, but it was all white. I'll post pictures later. Looks like the window isn't drawing for some of the exposure events. Pressing the program button on the...
  36. Installed...

    Installed https://www.pjrc.com/teensy/td_145/TeensyduinoInstall.linuxarm as the pi user because I installed Arduino 1.8.8 as the pi user
    Verified the HelloSerialMonitor example sketch
    Note: verbose...
  37. Was able to recreate the F_CPU error with a...

    Was able to recreate the F_CPU error with a Teensy 3.2 plugged in and after invoking Get Board Info. The key was to run it again from a new user account. So there's definitely an initial state bug of...
  38. The F_CPU issue appears to be a first-time thing....

    The F_CPU issue appears to be a first-time thing. I haven't been able to recreate it since plugging in a Teensy. To recap, I think there's an issue trying to build Teensy firmware without a Teensy...
  39. Success, though somewhat rough. Thanks for...

    Success, though somewhat rough. Thanks for responding, Defragster.

    The boards.txt is unmodified from the installation. See attached.

    Attaching a Teensy 3.0 allows me to get farther. Tools > Get...
  40. Verbose compiler messages: Arduino: 1.8.8...

    Verbose compiler messages:

    Arduino: 1.8.8 (Linux), TD: 1.45, Board: "Teensy 3.2 / 3.1, Serial"

    /home/pi/arduino-1.8.8/arduino-builder -dump-prefs -logger=machine -hardware...
  41. Using a Raspberry Pi Zero W to program a Teensy 3.1/3.2

    I have a couple of lighting installations that are physically inconvenient to update. I never did manage to port the Teensy CLI loader to OpenWrt Linux for the host commanding the Teensy. Figured...
  42. Good for you for solving it and reporting back!...

    Good for you for solving it and reporting back! Looking forward to pictures or videos. :-)
  43. Have you calculated the current draw of the LED...

    Have you calculated the current draw of the LED strip? 120 RGB LEDs can draw quite a lot more than the typical 5v phone charger supplies.
  44. The FastLED library is good. There are many demos...

    The FastLED library is good. There are many demos that generate patterns and the library is very well supported. Whether you decide to replay predefined patterns, reuse existing demo coffee, or write...
  45. "well nigh impossible to manipulate" How...

    "well nigh impossible to manipulate"

    How sophisticated is the adversary? Can they manipulate voltage and temperature? Can they use standard failure analysis tool used by chip makers?
  46. Hardware random number generators are...

    Hardware random number generators are surprisingly difficult. The testing is necessarily statistical. Proving that your noise source isn't susceptible to bias from other activity in the chip and in...
  47. Replies
    9
    Views
    1,422

    I've seen spikes like this. I'd suggest...

    I've seen spikes like this.

    I'd suggest explicitly clamping the range and discarding any values that are outrageously large. Also, median filtering is very useful for smoothing out the signal.
  48. Replies
    2
    Views
    592

    Sounds good! Would DMA be useful?

    Sounds good! Would DMA be useful?
  49. Replies
    4
    Views
    864

    Seems like a good idea. It's not like there are...

    Seems like a good idea. It's not like there are security issues. Someone can continue to use an old version if they need to. It's not bad to give customers who are mostly hobbyists a little push to...
  50. I'd try running it under strace. Might give a...

    I'd try running it under strace. Might give a clue about where it's dying.
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4