Search results

  1. G

    Does the RTC get powered when the teensy if switched off?

    Hi Mark. The On/Off input pin, as marked in the diagram. If you connect a push button to this input you can power the teensy down. I need to know whether the RTC will continue to be powered while plugged in (5v supplied to Vin) but in the powered down state.
  2. G

    Does the RTC get powered when the teensy if switched off?

    Ah. I mean when the teensy is powered down via the On/Off input.
  3. G

    Does the RTC get powered when the teensy if switched off?

    Hi all, When the teensy is powered off using the push button input, does the RTC remain powered by the Vin or would you still need to connect VBAT?
  4. G

    Forget on/off state when Vbat connected.

    Hi All, I am working on a project with a specific quirk of behaviour. The teensy will be connected to a ups battery circuit. The behaviour will be as follows: 1. External power is lost. The UPS switches to battery. 2. Detecting the loss of external power, the teensy starts a 5 second timer...
  5. G

    Teensy 4.1 Power On/Off Help Requested

    After a few hours tikering with frank's library i got the button working perfectly. I can do long and short press for different functions then a 5 second hold to turn off the device, and 1 second to turn it back on. it all works perfectly and i've saved a gpio! Solved! Thank you Frank for you...
  6. G

    Teensy 4.1 Power On/Off Help Requested

    Okay so ive cut the GPIO track and the teensy does now turn On/Off properley. Ill report back once i've tried Francks power lib.
  7. G

    Teensy 4.1 Power On/Off Help Requested

    After much pondering and research I've no idea why connecting a GPIO to ON/OFF breaks the ON state. The GPIOs are supposed to default to INPUT PULL_UP state. Ive been through lots of threads and found similar issues with ON/OFF and GPIO, but no solutions... I don't think a pullup will be a...
  8. G

    Teensy 4.1 Power On/Off Help Requested

    Same problem discussed on this thread. No solution found (other than disconnecting the additional pin) https://forum.pjrc.com/index.php?threads/on-off-pin-on-teensy-4-1.73346/page-2
  9. G

    Teensy 4.1 Power On/Off Help Requested

    I Have the same issue (combining the Pof with another digital pin), Did you find a fix? Im thinking of trying an external pull-up.
  10. G

    Teensy4.0 ST7735 Freezing when using frame buffer.

    HaHa, beat you to it! Only Joking, thank you so much for the help, glad we have fixed it. makes you wonder why it was commented out though...
  11. G

    Teensy4.0 ST7735 Freezing when using frame buffer.

    SOLUTION FOUND!! After digging into the library i found that line 752 of ST7735_t3.h was commented out. if((x < _displayclipx1) ||(x >= _displayclipx2) || (y < _displayclipy1) || (y >= _displayclipy2)) return; this is in the Pixel function and means that if the pixel is outside the bound s...
  12. G

    Teensy4.0 ST7735 Freezing when using frame buffer.

    Thanks for looking into this. I knew that the lines were often being drawn 'off the screen' but im sure before they were just 'dealt with' and not rendered. I know know what has changed in the recent version. I could potentially try to mod the lib to ensure negative pixels are not rendered...
  13. G

    Teensy4.0 ST7735 Freezing when using frame buffer.

    Hi Kurt, thanks again for the reply. Ill look intoi that powerbutton thing. Fornow ive removed the gyro code. if you set Roll to say 25 it updates fine(LED ON). if i set it to say 30 it does not update. I tried the writelines reviously but couldnt find anything conclusive. Please see code...
  14. G

    Teensy4.0 ST7735 Freezing when using frame buffer.

    Thanks for the comment Kurt! You are correct, there is the GyroCompute file. Im using the i2c dev mpu6050 lib. Code given below! #include "I2Cdev.h" #include "MPU6050_6Axis_MotionApps20.h" MPU6050 mpu; #define OUTPUT_READABLE_YAWPITCHROLL #define INTERRUPT_PIN 7 // use pin 2 on Arduino...
  15. G

    Teensy4.0 ST7735 Freezing when using frame buffer.

    Hi all, I'm trying to make an aircraft attitude indicator with the classic 1.8 inch tft and a mpu6050. I had a break from the project after getting some really promesing results. Recently I carried on with the project but the code im sure was working before now freezes at around 27 degrees...
Back
Top