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

Search:

Type: Posts; User: Experimentalist

Page 1 of 6 1 2 3 4

Search: Search took 0.01 seconds.

  1. FastLED Library Failing to build

    Hi

    I have tried building the very simple blink example from the FastLED library for Teensy LC but I cannot get it to build. I have tried it with the following:

    Teensyduino 1.47 Arduino 1.8.9...
  2. Having walked the dog and woken up a little I...

    Having walked the dog and woken up a little I just thought that the coin cell is only 3V so no need for a voltage divider, I guess I can just connect it with a series resistor to limit current? I am...
  3. Can I read the battery backup voltage (VBat) internally?

    Hi, I wonder if anyone knows if I can read the VBat RTC clock battery backup voltage internally somehow or whether I would have to add an external voltage divider or similar to monitor the coin cell...
  4. Interesting but seems to contradict this quote: ...

    Interesting but seems to contradict this quote:

    The diode option seems very straight forward so I guess I'll give that a go, thanks for responding
  5. Sorry if this is a simple question but can you...

    Sorry if this is a simple question but can you explain the theory behind the diodes. I guess if the input pin goes more negative than Gnd by approx 0.6V then it sinks to ground and vice versa if it...
  6. Could you post a link to that manual please? ...

    Could you post a link to that manual please?



    I just wondered if I should protect them or maybe this is already taken care of internally.

    So I just connect the pin directly to a wire or pad...
  7. The above is designed to use the CapacitiveSensor...

    The above is designed to use the CapacitiveSensor library not the native touch pins of the Teensy LC, 3.0, 3.1, 3.2 & 3.6, it is a completely different beast that is why I started this thread.
  8. However . . . would it still be best practice to...

    However . . . would it still be best practice to include a series resistor to protect the input from electrostatic discharge? Anyone?
  9. Thanks for your response. So. if I'm reading this...

    Thanks for your response. So. if I'm reading this correctly, I would use a reference voltage and a voltage divider to provide a fixed 2.7V into an Op Amp non inverting input. I would then connect...
  10. Oh if only my memory worked . . . I have asked...

    Oh if only my memory worked . . . I have asked this before but never followed up . . . here are some useful links for anyone finding this:
    Capacitive Touch Hardware Design Guide
    Capacitive sensors...
  11. Using touch inputs on Teensy LC, 3.0, 3.1, 3.2 & 3.6

    Hi, if I want to use the touchRead(pin) function with Teensy LC, 3.0, 3.1, 3.2 & 3.6 do I just connect a wire to a touch enabled pin or should I use a series resistor of some sort?
  12. How to use full ADC resolution with voltage divider

    I want to use a voltage divider to read the voltage from a 5 cell Lipo. However I want to use the full resolution of the ADC with analogRead() but across a limited voltage range. The maximum voltage...
  13. That's great, thanks for your help . . . I knew I...

    That's great, thanks for your help . . . I knew I must be missing something. I had intended to wire it as you suggested so your answer is spot on, thanks again.
  14. Directly driving a TIP120 Darlington NPN from 3.3V output

    I was wondering if someone could verify my electronic maths for directly driving a TIP120 Darlington NPN from 3.3V output, see datasheet diagram below.

    17619

    I want to use it to switch a 9W LED...
  15. I am using the SD formatter code from ...

    I am using the SD formatter code from https://github.com/greiman/SdFat.git and BUILTIN_SDCARD is coming up as not defined, what actual pin number is it? I do not see a format example in the SD...
  16. What pin number for Teensy 3.6 SD card chip select pin?

    Can anyone tell me what the pin number is for the Teensy 3.6 SD card chip select pin?
  17. Don't worry, I've got it now and will post the...

    Don't worry, I've got it now and will post the image for others in due course (o:
  18. Can anyone show an image of the Teensy prop...

    Can anyone show an image of the Teensy prop shield and Teensy 3.6 stacked to show the pin alignment?
  19. So I can just solder the side pins and leave the...

    So I can just solder the side pins and leave the central pins unconnected on the Teensy 3.6?

    I am presuming I can use the SD card and accelerometer at the same time without conflict?
  20. My 3.6 will be mounted above the prop shield by...

    My 3.6 will be mounted above the prop shield by the way as the prop shield already has sockets soldered in place
  21. With regard to the DAC does that mean I need to...

    With regard to the DAC does that mean I need to leave one pin unconnected? Not intending to use audio at this time, I just want to record accelerometer data to SD card.
  22. Prop shield compatibility with Teensy 3.6

    I assume this is a simple question, does the Teensy 3.6 plug straight in to the prop shield with motion sensors? I have a Teensy LC with pins plugged in to my propshield at present and a Teensy 3.6...
  23. Replies
    21
    Views
    340

    I followed your video and it worked a treat . . ....

    I followed your video and it worked a treat . . . VisualTeensy it is then (o:
  24. Replies
    21
    Views
    340

    I just pushed the whole PlatformIO project to: ...

    I just pushed the whole PlatformIO project to:

    https://github.com/The-Experimentalist/PlatformIO-MahonyIMU.git
  25. Replies
    21
    Views
    340

    Its just Paul's code from this repo...

    Its just Paul's code from this repo https://github.com/PaulStoffregen/NXPMotionSense.git in MahonyIMU.ino from folder \examples\MahonyIMU\

    Here it is in its present form:

    // Inertial Monitoring...
  26. Replies
    21
    Views
    340

    I tried copying the crc16.h file to: ...

    I tried copying the crc16.h file to:

    \lib\crc16\src

    I then tried compiling and get:

    Processing teensylc (platform: teensy; board: teensylc; framework: arduino)...
  27. Replies
    21
    Views
    340

    Yes, I saw that thanks, I am just not quite sure...

    Yes, I saw that thanks, I am just not quite sure how to include it in the PlatformIO project in order to get the PlatformIO library manager to recognise it. If I copy it as it is above it does not...
  28. Replies
    21
    Views
    340

    Thanks for your help. I have a bit of time now so...

    Thanks for your help. I have a bit of time now so I am going to go and read up on the PlatformIO library manager and try to get my head round it.
  29. Replies
    21
    Views
    340

    Thanks, got it and have now installed it. Any...

    Thanks, got it and have now installed it. Any ideas how I can resolve the crc16.h issue:

    > Executing task in folder Teensy-PropShield-MahonyIMU:...
  30. Replies
    21
    Views
    340

    Do you happen to know how do I enter PlatformIO...

    Do you happen to know how do I enter PlatformIO CLI commands from within VSCode? Sorry for slow replies I am currently working on my garden fence )0:
  31. Replies
    21
    Views
    340

    I am not a C++ programmer, I literally took the...

    I am not a C++ programmer, I literally took the code from the MahonyIMU.ino example from Paul's github https://github.com/PaulStoffregen/NXPMotionSense.git and added the Arduino include line. I am...
  32. Replies
    21
    Views
    340

    Platform IO Configuration

    I am trying out Platform IO but I am unsure how to configure it correctly. I am trying to build the MahonyIMU.ino example from Paul's github https://github.com/PaulStoffregen/NXPMotionSense.git

    I...
  33. Replies
    18
    Views
    1,703

    I am having issues with Platform IO finding the...

    I am having issues with Platform IO finding the Teensy libraries can anyone explain how to set it up so it can see the Teensy libraries at a specific path as I am struggling?
  34. I just downloaded Platform IO and am going to...

    I just downloaded Platform IO and am going to have a look at that also, thanks for the tip (0:
  35. I just downloaded Platform IO and am going to...

    I just downloaded Platform IO and am going to have a look at that also, thanks for the tip (0:
  36. Thanks for your efforts, that's not my repo just...

    Thanks for your efforts, that's not my repo just one that was recommended to me by a forum member to see some of the Teensy Prop Shield functions. Got it working now using the Arduino build tool,...
  37. Got to go out . . back later

    Got to go out . . back later
  38. I am trying to build Teensy_Prop_Shield.ino from:...

    I am trying to build Teensy_Prop_Shield.ino from:

    https://github.com/kriswiner/Teensy_Prop_Shield

    I copied and pasted it in and added:

    #include "Arduino.h"


    The first line of it failing...
  39. It is failing to build in VSCode as it can't find...

    It is failing to build in VSCode as it can't find the Teensy libraries which are in:

    C:\Arduino\1.8.9-TD-1.47\hardware\teensy\avr\libraries

    Where does this path need setting so that...
  40. . . . also trying to cook dinner . . . hence the...

    . . . also trying to cook dinner . . . hence the mistakes ;)
  41. Fixed that, I set it to the wrong folder by...

    Fixed that, I set it to the wrong folder by mistake . . . hang on
  42. I realise I don't need to edit the makefile I...

    I realise I don't need to edit the makefile I just need to edit the files it reads from as I have not worked with Arduino and Teensyduino for a while and it is somewhat of a mess. I have just edited...
  43. This is verbatim from the makefile: ...

    This is verbatim from the makefile:

    LIBS_LOCAL_BASE := lib

    Should it fill in the automatically or do I need to edit it somewhere?
  44. Let me have a look . . . I always find the...

    Let me have a look . . . I always find the library linking confusing :confused: I'll report back. Where is the Arduino configuration file usually?
  45. Can you explain these settings in the make file...

    Can you explain these settings in the make file and where it gets the paths from please?

    LIBS_SHARED_BASE := <Path Removed>
    LIBS_SHARED :=


    LIBS_LOCAL_BASE := lib
    LIBS_LOCAL := ...
  46. . . . got it now, for anyone else having the...

    . . . got it now, for anyone else having the question . . . from within VSCode use the 'Terminal' menu and select 'Run build task...' (or use CTRL-SHIFT-B) then select 'Upload (teensy.exe)' from the...
  47. Compiled code with VisualTeensy in VSCode successfully, how do I upload to Teensy?

    Hi, I have just successfully compiled code with VisualTeensy in VSCode, how do I upload to Teensy?

    I have configured the PJRC uploader in VisualTeensy but how do I launch it?
  48. Thanks for the tips

    Thanks for the tips
  49. I have added exceptions for all folders and the...

    I have added exceptions for all folders and the application but no joy at first. I will continue tomorrow. Thanks for the info
  50. Compiling taking very VERY long time on Windows 10 with Arduino 1.8.9 and TD 1.47

    It seems to take forever to compile anything on my Windows 10 PC with Arduino 1.8.9 and TeensyDuino 1.47

    Has anyone any ideas what I can do to speed it up? I know many of you will be ready to...
Results 1 to 50 of 279
Page 1 of 6 1 2 3 4