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

Search:

Type: Posts; User: Ahsan

Search: Search took 0.00 seconds.

  1. #include #include #include...

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

    #include "LIS2DH12.h" //the library
    LIS2DH12 accel; //Create instance
    File myFile; //File name to be saved
    IntervalTimer myTimer;...
  2. T3.6 with LIS2DH12 digital output accelerometer

    Hello everyone. I am doing an experiment in which I am using T3.6 with LIS2DH12 accelerometer that has a digital output. To read data I am using this Library...
  3. I tried this. #define SAMPLERATE 1024*1...

    I tried this.
    #define SAMPLERATE 1024*1
    uint32_t totalSamples = 10 * SAMPLERATE;
    #define BUFFSIZE 1024

    when SAMPLERATE is 1024 and I wrote for 10s, it actually took 10s to write 1024 samples....
  4. Thank you. I tried this but every time I recorded...

    Thank you. I tried this but every time I recorded samples, The number of samples is different. Is there a way I can get a constant number of samples for a specific time duration like 10 seconds?
  5. I tried this code. This is really good. I have a...

    I tried this code. This is really good. I have a question if anyone would like to answer; Could I go to StopLogging(void) using pre-defined time instead of using q or p?
  6. Replies
    6
    Views
    1,072

    hello, I am trying this code too but I am...

    hello, I am trying this code too but I am confused with your last code to add in loop() in order to safely remove the SD card. Could you please let me know where should I add this code in the above...
  7. Replies
    2
    Views
    268

    Teensy 3.6 COM problem

    I am new with Teensy 3.6. I am using Arduino 1.8.13 with Teensyduino to program my brand new Teensy 3.6 but I could not find the COM Port, which means, my Teensy is not communicating with my laptop...
Results 1 to 7 of 7