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

Search:

Type: Posts; User: ig-or

Search: Search took 0.00 seconds.

  1. for teensy 3.6 and 4.1, using Visual Studio code...

    for teensy 3.6 and 4.1, using Visual Studio code as an editor, cmake+ninja for build, printf to usb console, LEDs for debugging.. I know in many cases its faster to make something more clever then...
  2. Replies
    3
    Views
    326

    TeensyWolf, Paul, thank you for the information...

    TeensyWolf, Paul, thank you for the information and support.
    :rolleyes:
  3. Replies
    3
    Views
    326

    again about voltage shifts and encoders

    Hello! I was trying to measure the rotation angle (of the motor) with encoders, on Teensy 4.1. The mistake was to feed the encoders with 5V power, and send encoder output to teensy pins. (Encoders...
  4. defragster , jonr, KurtE, thank you for your...

    defragster , jonr, KurtE, thank you for your help.
    I looked a few libraries, how similar things are implemented by Paul and others, and it looks like for my case it maybe better to go simple way:...
  5. Thanks!! Will try "IntervalTimer" +...

    Thanks!! Will try "IntervalTimer" + "NVIC_DISABLE_IRQ" solution.
  6. questionS about "how to disable a particular interrupt"

    Hello! Would you please help me with the following:

    I'm using Teensy4.1 with latest teensyduino library. In a code, I'm running a function "myPeriodicFunction" every two millisecond, following...
  7. There should be nothing special. Just my own...

    There should be nothing special. Just my own Ubuntu 20.04 installation. What is the port number? And protocol? Recently I saw port-blocking behavior on Windows10 (HyperV subsystem blocked some ports...
  8. after teensy board attached 10:07:52.072...

    after teensy board attached


    10:07:52.072 (loader): initialized, showing main window
    10:08:50.642 (loader): Verbose Info event
    10:11:58.428 (loader): action add: /dev/hidraw4
    10:11:58.430...
  9. (base) igor@Igor-notebook:~$ ifconfig lo lo:...

    (base) igor@Igor-notebook:~$ ifconfig lo
    lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
    inet 127.0.0.1 netmask 255.0.0.0
    inet6 ::1 prefixlen 128 scopeid 0x10<host>
    loop ...
  10. This was it!! I tried 7 cables, with three of...

    This was it!! I tried 7 cables, with three of them the board showed a small red light after I pressed a button, but only one cable showed me "USB device attached" windows message and teensy.exe...
  11. OK, I tried on another PC now, Windows 10. I...

    OK, I tried on another PC now, Windows 10. I created a hex file, and trying to use teensy.exe to upload this file to the teensy 4.1. But "program" and "reboot" buttons are not active. This is the...
  12. Thank you Paul for paying attention to this...

    Thank you Paul for paying attention to this issue. Will check all this today. Also, will try on different PCs. Best regards!
  13. downloading program into the new teensy 4.1: not working on my PC

    Ubuntu Linux 20.04, latest artuino env + latest teensyDuino.
    I tried to work from Arduino environment and from makefile directly, results are the same. "Teensy" looks like does not load program...
  14. Replies
    6
    Views
    549

    Thanks for this check. This CarbonBlack sometimes...

    Thanks for this check. This CarbonBlack sometimes is too much.
  15. Replies
    6
    Views
    549

    Tried Ubuntu Linux 20.04, everything installed...

    Tried Ubuntu Linux 20.04, everything installed correctly. When I select "examples/Blink" application and push "verify", it starts compiling, then "teensy" window opens but arduino tells me


    ...
  16. Replies
    6
    Views
    549

    I'm using 1.55 version. teensy_size.exe...

    I'm using 1.55 version.
    teensy_size.exe attached.. maybe it could be possible to check if it is OK. Will fight Carbon Black antivirus then. And probably switch to Linux anyway.
  17. Replies
    6
    Views
    549

    teensy_size.exe : Access is denied.

    Hello. Just a small question:
    I got new teensy 4.1 today, load Arduino and teensyduino, but cannot build peobram on Windows 10. Getting following message:




    Opening Teensy Loader......
  18. Replies
    475
    Views
    144,611

    OK, the problem was in this:...

    OK, the problem was in this: threads.addThread(fileThread, 0, 512);

    After I changed it into threads.addThread(fileThread, 0); is starts to work more correctly.
  19. Replies
    475
    Views
    144,611

    I noticed that very simple Arduino sketch with...

    I noticed that very simple Arduino sketch with yield() is working fine. Maybe the problem is in my custom CMAKe file, something not OK with compiler settings..... I'm using quite a lot of...
  20. Replies
    475
    Views
    144,611

    Hello! I have a small question about the...

    Hello! I have a small question about the "yield" function call. looks like it is not working in my case for Teensy 3.6.
    inside the thread function, it works once, but after this it hangs somehow....
  21. WMXZ, thanks for the info. Now I'm starting to...

    WMXZ,
    thanks for the info. Now I'm starting to understand.

    turtle9er,
    thanks for the good and useful example!
  22. Dear turtle9er, sorry I didn't explain it...

    Dear turtle9er, sorry I didn't explain it clearly. Below is my software:


    #define USING_SD_FAT_LIB
    #define USING_SdFatSdioEX

    #include "WProgram.h"
    #include "SdFat.h"
  23. Thank you for the comment! This is the code:...

    Thank you for the comment!
    This is the code:
    INIT function:

    void fInit() {
    //

    fsWorking = false;
    #ifdef USING_SD_FAT_LIB
    if (!SD.begin()) {
  24. "async write" SD card access, filesystem library (Teensy 3.6)

    Hello everybody!! I have a question about existing SD card access libraries for the Teensy. I tried the "standard" library, and also "Sdfat". Looks like SDFat is faster, but sometimes when I'm...
  25. Paul, I'll try your method! Thanks a lot! Yes,...

    Paul, I'll try your method! Thanks a lot! Yes, probably vim is better in my case.

    Best regards, Igor
  26. Paul, thanks for the info. Using your suggested...

    Paul, thanks for the info. Using your suggested method, I realized that indeed there are a lot of differences between MCUXpresso and Arduino. Currently I end up with ...
  27. Teensy 3.6 on Arduino vs MCUXpresso IDE (not working on MCUXpresso)

    Hello!
    I'm very new in Teensy programming (this is my first project with it).
    I have following question:

    I'm using Teensy 3.6, and following very simple sketch on Arduino: everything is working...
Results 1 to 27 of 27