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

Search:

Type: Posts; User: Lukashuk

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    3
    Views
    383

    I understand that in my case different encodings...

    I understand that in my case different encodings are used. But your recommendation does not help me or I do not know how to apply it.
  2. Replies
    3
    Views
    383

    multilingual interface for TFT

    Hello!
    I am using T3.6 and ILI9341 display (SPI). my project must have a multilingual interface: English, Russian and Ukrainian.
    Can you please tell me how can I modify the Arduino environment and...
  3. Replies
    20
    Views
    1,183

    Yes! it worked. Thank you!

    Yes! it worked. Thank you!
  4. Replies
    20
    Views
    1,183

    I added as you said, although I do not have an...

    I added as you said, although I do not have an audio shield. SGTL5000, it didn't help.
    I also found out interrupt adc0_isr () triggers = BUFFER_SIZE * AudioMemory (20) and does not go there anymore
  5. Replies
    20
    Views
    1,183

    I also found out that the Queue.getBuffer ()...

    I also found out that the Queue.getBuffer () function produces new addresses each time and the number of them is the same as defined in AudioMemory (20).
    something is wrong? still doesn't work,...
  6. Replies
    20
    Views
    1,183

    it turned out to insert a photo 24595

    it turned out to insert a photo
    24595
  7. Replies
    20
    Views
    1,183

    Yes sir! I cannot insert a photo, but the period...

    Yes sir! I cannot insert a photo, but the period of this signal is similar to 488 μS
  8. Replies
    20
    Views
    1,183

    i made changes, // memcpy (p, b, BUFFER_SIZE); ...

    i made changes,
    // memcpy (p, b, BUFFER_SIZE);
    // memcpy (p, b, BUFFER_SIZE * 2);
    memcpy (p, b, BUFFER_SIZE * sizeof (buffer_0 [0]));
    Queue.playBuffer ();
    p = Queue.getBuffer ();...
  9. Replies
    20
    Views
    1,183

    changed the code adding control void setup () {...

    changed the code adding control
    void setup ()
    {
    AudioMemory (20);
    p = Queue.getBuffer ();
    if (p == NULL)
    { while (1);} // ERROR
    and sorted all the code a little, now the...
  10. Replies
    20
    Views
    1,183

    doesn't seem to work // Queue.playBuffer (); if...

    doesn't seem to work
    // Queue.playBuffer ();
    if you comment it out, the rest of it works
    Serial.print ((int) b, HEX); Serial.print (""); Serial.println ((int) p, HEX);

    result of receiving...
  11. Replies
    20
    Views
    1,183

    I changed short int buffer_0[BUFFER_SIZE];...

    I changed
    short int buffer_0[BUFFER_SIZE];
    short int buffer_0_count = 0;
    now the compiler gave no errors but still doesn't work
    control digitalWrite (23,! digitalRead (23)); reports a problem
  12. Replies
    20
    Views
    1,183

    #include #include #include...

    #include <Wire.h>
    #include <SPI.h>
    #include "ILI9341_t3.h"
    #include "font_Arial.h"
    // For the Adafruit shield, these are the default.
    #define TFT_DC 9
    #define TFT_CS 10
    ILI9341_t3 tft =...
  13. Replies
    20
    Views
    1,183

    problem with memcpy (p, b, 128)? Queue.playBuffer()?

    Hello everyone!
    I need your help! I am using Teensy3.2
    I am trying to analyze a low frequency signal and therefore for communication
    with the AudioAnalyzeFFT1024 object, I use the AudioPlayQueue...
  14. How to reduce the sampling rate in Teensy?

    Hello!
    I am planning to start a new project using a geophone.
    I need to investigate signals in the range of 0-200 Hz, I probably need to use an FFT and for such low frequencies it is necessary to...
  15. KurtE Now I understand. It turns out I have to...

    KurtE
    Now I understand. It turns out I have to change additional registers once with pinMode at the beginning
    and then in the main code I can change the input / output direction with GPIOD_PDDR =...
  16. I do not think so. I won’t argue. I was hoping...

    I do not think so. I won’t argue.
    I was hoping to get a recommendation.
    Thanks anyway for your attention.
  17. I need to make communication between T3.6 and...

    I need to make communication between T3.6 and T3.2. in both directions as quickly as possible.
    The data will then be sent over the UDP and simultaneously recorded on the memory card in Teensy. For...
  18. please explain in more detail. I use port D only...

    please explain in more detail. I use port D only as parallel input / output of 8 bits of data, nothing more.
    I need to configure the direction, read or send 8 bits as quickly as possible.
    it seems...
  19. T3.6 , T3.2 and soon T4

    T3.6 , T3.2 and soon T4
  20. Hello! In my project, I transmit data in parallel...

    Hello! In my project, I transmit data in parallel code in different directions using port D. I need to quickly switch input / output. For tests, I used the only receive code:


    int led = 13;
    int...
  21. The issue was resolved. The problem is with the...

    The issue was resolved.
    The problem is with the firewall. At this stage I turned it off and my program worked.
  22. Replies
    0
    Views
    642

    Adding a UDPSendReceiveString Sketch

    As part of the study, the IP found: when receiving packets of different lengths, the received data is not correctly displayed in the serial port. To correct after the line

    Udp.read(packetBuffer,...
  23. I wrote the UDP client. using System; using...

    I wrote the UDP client.

    using System;
    using System.Net;
    using System.Net.Sockets;
    using System.Text;
    using System.Threading;

    namespace UdpSample
    {
  24. Please give an example of UDP for Windows.

    Hello!
    I began to study IP.
    I downloaded the UDPSendReceiveString example and it works well on someone else's program.
    My problem is that I need to write my own program for Windows. I am using...
  25. T3.2, T3.6 with the Internet module on the W5500. Who is faster?

    Hello all!
    I am starting a new project and I need to know a few things.
    I have T3.2, T3.6, Internet module on the W5500
    1) which of Teensy will work with the Internet faster? maybe i need to order...
  26. Replies
    4
    Views
    1,337

    Hello! I checked AudioInputAnalogStereo adcs1...

    Hello! I checked AudioInputAnalogStereo adcs1 (A5, A3); AudioInputAnalogStereo adcs1 (A5, A3) works; together with AudioEffectMultiply multiply1;
    If the ADC channels are defined separately...
  27. Replies
    4
    Views
    1,337

    Hello! I checked the internal signals. If the...

    Hello! I checked the internal signals. If the input of the AudioEffectMultiply multiply1 is to give 2 inward sine AudioSynthWaveformSine sine1 and sine2 then the multiply1 works.
    I repeat - multiply...
  28. Replies
    4
    Views
    1,337

    I tried to replace, does not work. I have 2...

    I tried to replace, does not work.
    I have 2 signals at the inputs, 120 Hz (yellow line) and 100 Hz, after multiplying these should be approximately like this (blue line)
    16547

    and there is so
    ...
  29. Replies
    4
    Views
    1,337

    Audio EffectMultiply doesn't work

    Hello! I am using T3.2
    Audio EffectMultiply doesn't work for me, here's an example:

    #include <Audio.h>
    #include <Wire.h>
    #include <SPI.h>
    #include <SD.h>
    #include <SerialFlash.h>

    //...
  30. @ Theremingenieur ! Thanks for your reply. He...

    @ Theremingenieur ! Thanks for your reply. He upset me.
  31. how can i get the value from sine1 at any time?

    Hello! I know how to create an audio object, for example

    #include <Audio.h>
    AudioSynthWaveformSine sine1;
    //AudioOutputAnalog dac1;
    //AudioConnection ...
  32. Replies
    18
    Views
    12,951

    Paul! Now it is compiled for p3.6 and p3.2 but...

    Paul! Now it is compiled for p3.6 and p3.2 but does not work. works for 3.6 when FTM3. Thank! I will smoke the documentation.
  33. Replies
    18
    Views
    12,951

    Thank! forgive my persistence. I try 3.6, if...

    Thank! forgive my persistence. I try 3.6,
    if (adc.adc0-> fail_flag || adc.adc1-> fail_flag)
    ** this is line 72-75 - gives an error
  34. Replies
    18
    Views
    12,951

    I have t3.2 and t3.6, my task is to do it on 3.2,...

    I have t3.2 and t3.6, my task is to do it on 3.2, but for 3.6 if you remove comments from lines 72-75, the compiler reports an error
  35. Replies
    18
    Views
    12,951

    I also noticed, for t3.6, if I uncomment lines...

    I also noticed, for t3.6, if I uncomment lines 72-75, I get an error:
    TestADC4CanalDMA:72: error: no match for 'operator||' (operand types are 'volatile ADC_Error::ADC_ERROR' and 'volatile...
  36. Replies
    18
    Views
    12,951

    Thank! I understood that too. But what should I...

    Thank! I understood that too. But what should I do if I need for t3/2?
    Please, help!
  37. Replies
    18
    Views
    12,951

    Hello! Is this the correct branch? If this is...

    Hello!
    Is this the correct branch? If this is not the case, transfer it to the desired branch.
    Sorry for my English. I use the translator.
    I installed Arduino 1.89 and Teensyduino 1.46 on another...
  38. it turned out preparation #define...

    it turned out preparation


    #define FRAMING_ERROR (1<<FE)
    #define PARITY_ERROR (1<<UPE)
    #define DATA_OVERRUN (1<<DOR)
    #define DATA_REGISTER_EMPTY (1<<UDRE)
    #define RX_COMPLETE (1<<RXC)

    //...
  39. write me a personal message, you need to discuss.

    write me a personal message, you need to discuss.
  40. The RFID tags may not be needed, on each card...

    The RFID tags may not be needed, on each card write the number + camera + pattern recognition with a marker.
    You can come up with a lot of ideas.
    You sound how much indecent amount you can pay for...
  41. Frank is right, you need RFID labels that are...

    Frank is right, you need RFID labels that are used in bookstores, they are very thin.
  42. I forgot to add that in the if( timeout) I also...

    I forgot to add that in the if( timeout) I also want to analyze the package

    if (timeout)
    {
    MyAnalis();
    digitalWrite (led, state);
    bitWrite (number1, 2, state);
    Serial.write...
  43. Thank you for responding. I need to know - is...

    Thank you for responding.
    I need to know - is there a sign of the end of the transfer (timeout has passed)? to start analyzing the package, and can i send a new package.
    Here is a simple code. To...
  44. Thank you for responding. I need to know - is...

    Thank you for responding.
    I need to know - is there a sign of the end of the transfer (timeout has passed)? to start analyzing the package, and can i send a new package.
    Here is a simple code.

    ...
  45. Serial and SoftSerial libraries and timeout marker?

    Hello all!
    I ran into a problem. The Serial and SoftSerial libraries have no idea what timeout is.
    I looked a lot of webpages and did not find a solution.
    As is well known, many protocols such as...
  46. Replies
    13
    Views
    3,634

    Hello! I think you need to use the current...

    Hello! I think you need to use the current settings, as a rule - for measurements, the settings are made at the beginning and do not change later.
    If the library is fixed, maybe I can use it in my...
  47. Replies
    13
    Views
    3,634

    Hi everyone! I tested this library, and noticed...

    Hi everyone!
    I tested this library, and noticed shortcomings:
    Together with temperature measurements of a kernel I make the analysis of ATsP on other channels. Almost always it uses resolution of...
  48. Replies
    16
    Views
    4,848

    It's time to share a working project. 2 tasks...

    It's time to share a working project.
    2 tasks were solved:
    1- Generator on Teensy3.2
    2- Recorder on Teensy3.6
    The generator issues 10 bytes (4 sines of 16 bits + 1 byte of saw +1 byte statuses)...
  49. Replies
    16
    Views
    4,848

    I also made a program for data logging, until...

    I also made a program for data logging, until without writing to the memory card,
    I wanted to make sure of the speed of the work and wanted to know how long it takes to read from the port and write...
  50. Replies
    16
    Views
    4,848

    for my project I decided to make a test...

    for my project I decided to make a test generator.
    Here is the program code


    #define write8inline(d) { \
    PORTD = (GPIOD_PDOR & B00000000) | ((d) & B11111111); \
    }
    #define...
Results 1 to 50 of 58
Page 1 of 2 1 2