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

Search:

Type: Posts; User: mjs513

Page 1 of 10 1 2 3 4

Search: Search took 0.04 seconds.

  1. Replies
    29
    Views
    557

    You are correct Michael. When I was looking at...

    You are correct Michael. When I was looking at the c++ man pages it showed C99 and a tab for C++11.
  2. Replies
    29
    Views
    557

    Ok - here is a side by side comparison. looks...

    Ok - here is a side by side comparison. looks like its working both in forward and reversed ! ....



    Range 0-20 to 4-0 Range 0-20 to 0-4
    x map map1 map(+1) map(round) Rosetta x ...
  3. Replies
    29
    Views
    557

    Thanks Paul - will check that next. Out of...

    Thanks Paul - will check that next. Out of curiosity I was looking for a mathematical approach to map and found something on rosetta code for a map function: https://rosettacode.org/wiki/Map_range....
  4. Replies
    29
    Views
    557

    Was looking that over this morning and planned on...

    Was looking that over this morning and planned on testing. That cmaglie sketch helps. I changed it to read:


    // This is the original map() function in Arduino Core
    long map1(long x, long...
  5. Replies
    29
    Views
    557

    I agree with you on how something simple can get...

    I agree with you on how something simple can get overly complicated. Always subscribed to the KISS principal :)
  6. Replies
    29
    Views
    557

    Was just playing with the different types and...

    Was just playing with the different types and added results to my previous posts. Looking at inttypes.h appears there are a few more variants for PRIxxxx usage as well:



    Which i think is...
  7. Replies
    29
    Views
    557

    @luni - thanks for the lesson. Learning...

    @luni - thanks for the lesson. Learning something new now. Never realized those things were defined in inttypes.h. I have seen something similar in some .h files though.

    EDIT: did a google...
  8. Replies
    29
    Views
    557

    Seeing exactly the same thing using Ubuntu 18.04,...

    Seeing exactly the same thing using Ubuntu 18.04, the screenshot matches exactly.


    Think will need to convert many many %u %x %d to %lu %lx %ld Will be sort of a pain! Ran across an instance of...
  9. Replies
    29
    Views
    557

    Same here - all seems to be working. Ran with...

    Same here - all seems to be working. Ran with OpenGL, EigenTest, check42 psram test with no problem.
  10. Replies
    41
    Views
    820

    Been uploading and reuploading graphicstest9488...

    Been uploading and reuploading graphicstest9488 on a T4.1 with 8mb PSRAM with upload or compile issues with the change in post #27. Same results with Demosauce. Both times used SPI1 for the test.
    ...
  11. Replies
    41
    Views
    820

    Morning all Going to add to the confusion this...

    Morning all
    Going to add to the confusion this morning. I retested BLINK on a T4.1 with compile options from smallest to fastest with the even stranger result that at all compile options BLINK...
  12. Replies
    41
    Views
    820

    Just joined the fun here. Loaded a clean copy of...

    Just joined the fun here. Loaded a clean copy of Arduino 1.8.13 along with 1.54-beta1 and am seeing the same issues on a Windows 10 64 bit as @KurtE and @degragster while loading Blink.ino. As a...
  13. Replies
    49
    Views
    1,760

    Wow - was just going to start reading up on HAB...

    Wow - was just going to start reading up on HAB to play around with it but looks like its solved - really is great news. Looking forward to see what you did to get it working ?
  14. Replies
    40
    Views
    4,142

    Sticky: I didn't try running it manualy but I did try and...

    I didn't try running it manualy but I did try and just press the button on the T4,1 just in case but didn't load - probably got impatient and didn't wait long enough.

    Agree - Paul probably needs...
  15. Replies
    40
    Views
    4,142

    Sticky: @KurtE - I am using 1.8.13 aarch64 version -...

    @KurtE - I am using 1.8.13 aarch64 version - arduino-1.8.13-linuxaarch64

    If i turn on verbose mode I didn't notice anything strange, looks like it compiled without error. Also as I mentioned when...
  16. Replies
    40
    Views
    4,142

    Sticky: Just checked and /tmp has drwxrwxrwt 15 root...

    Just checked and /tmp has

    drwxrwxrwt 15 root root 4096 Oct 14 19:05 tmp

    If I compile Blink for the Uno I don;t get the error?
  17. Replies
    40
    Views
    4,142

    Sticky: Good Morning all Running into a something while...

    Good Morning all
    Running into a something while trying to get a sketch to load to a brand new toy I got recently and something out of my normal wheel house. So here goes.

    I picked up a PI4 with...
  18. Replies
    11
    Views
    493

    Ok hooked up a T4.1 with 1 PSRAM chip and ran the...

    Ok hooked up a T4.1 with 1 PSRAM chip and ran the three example programs:
    Simple.ino

    f1 address: 0x20000de8, value: 3.141593
    f2 address: 0x20000e90, value: 1.414214
    t2 address: 0x20000e0c,...
  19. Replies
    11
    Views
    493

    Indeed - very cool - have to give it a try soon! ...

    Indeed - very cool - have to give it a try soon! Nice find :)
  20. Replies
    12
    Views
    330

    A while ago @KurtE and I and others worked on...

    A while ago @KurtE and I and others worked on getting a RPI Kedei display working with the T3x-T4. You might want to give the library we developed for that a try:...
  21. Replies
    163
    Views
    5,547

    Sorry for the delay in responding but been busy...

    Sorry for the delay in responding but been busy with a few other projects.

    Was trying to figure out where the problem was but no luck. Probably best that you switch to the BNO055, as you said...
  22. Replies
    163
    Views
    5,547

    I agree @KurtE. Should be usable in both cases...

    I agree @KurtE. Should be usable in both cases just never checked it out, that was one of the reasons I suggested adding pinMode(int pin, INPUT). But INPUT_PULLUP is probably better but in the...
  23. Replies
    163
    Views
    5,547

    Ok - ran the motionTracker sketch again and saw...

    Ok - ran the motionTracker sketch again and saw the same thing after 15mins of running - then i ran my test sketch and its still running after 15mins with no issue. Has to be something with that...
  24. Replies
    163
    Views
    5,547

    Well in my testing i never saw the issue after I...

    Well in my testing i never saw the issue after I changed the begin statement - so question is are you using the modified lib I provided or the original if you are using the INT pin again. Really...
  25. Replies
    163
    Views
    5,547

    My guess is that there is some issue with using...

    My guess is that there is some issue with using the int pin on BNO080 with the sketch you are using. With out the int you don't get the error of a dead BNO080. I haven't had time to read the docs...
  26. Replies
    163
    Views
    5,547

    Good Luck and definitely keep us posted.

    Good Luck and definitely keep us posted.
  27. Replies
    163
    Views
    5,547

    Ok think I found the issue - tried short...

    Ok think I found the issue - tried short durations and very long durations with power off and in each case the BNO080 starts right up. I basically told it to ignore the interrupt pin and default to...
  28. Replies
    163
    Views
    5,547

    Yes when the sensors are all working can see the...

    Yes when the sensors are all working can see the data using the keystrokes.

    If you have the Arduino IDE open and you just loaded a sketch you can reload by pressing the button on top of the T4 -...
  29. Replies
    163
    Views
    5,547

    Ok here is a sketch that i just tested with 2...

    Ok here is a sketch that i just tested with 2 BNO055s and 1 BNO080.

    #include <Wire.h>

    #include "SparkFun_BNO080_Arduino_Library.h"
    BNO080 myIMU;

    #include <Adafruit_Sensor.h>
    #include...
  30. Replies
    163
    Views
    5,547

    @marcob Please pay close attention to...

    @marcob

    Please pay close attention to @KurtE's post #122 as well. Good possibility that in your use case with the Motion Tracker app there is an issue with latency and report updates.
  31. Replies
    163
    Views
    5,547

    You should be able to run it with your setup -...

    You should be able to run it with your setup - leave both BNO055's connected. You modify the sketch to use both BNO055's as well by creating another instance of it with the second BNO055 address.
  32. Replies
    163
    Views
    5,547

    I modified the previous test sketch so that it...

    I modified the previous test sketch so that it works plus added a BNO055 into the mix at I2c Addr of 0x29:

    #include <Wire.h>

    #include "SparkFun_BNO080_Arduino_Library.h"
    BNO080 myIMU;
    ...
  33. Replies
    163
    Views
    5,547

    If you look at the details of the code it seems...

    If you look at the details of the code it seems to be failing on the BNO080 update function:

    void update()
    {
    // Serial.print(String(myIMU->dataAvailable()) + "\t");
    //...
  34. Replies
    163
    Views
    5,547

    What we were saying is that you can test to see...

    What we were saying is that you can test to see if it matters with the PU's just by testing with the example sketches as a first step. By the way - Sparkfun had responded some time ago:
  35. Replies
    9
    Views
    270

    @el_supremo set it up so you can use the Arduino...

    @el_supremo set it up so you can use the Arduino IDE!
  36. Replies
    163
    Views
    5,547

    As you have shown the 2 bno055 and and bno080 are...

    As you have shown the 2 bno055 and and bno080 are detected on teensy. So not sure what else to help with you with the teensy until you try running some of the example sketches fro the Adafruit and...
  37. Replies
    163
    Views
    5,547

    I will second what @KurtE has stated. Have you...

    I will second what @KurtE has stated. Have you tried to run any of the example sketches for the BNO080 to see if they work. If the scanner is seeing the 2 BNO055's and the BNO080 then the next...
  38. Replies
    9
    Views
    270

    I would start by looking at main.cpp file. It...

    I would start by looking at main.cpp file. It looks like you can just copy and paste that into your Arduino IDE and then add all the .h files into the sketch as new tab's - you don't have to worry...
  39. Replies
    163
    Views
    5,547

    Ok jumping in here a bit late but if you have 1...

    Ok jumping in here a bit late but if you have 1 BNO080 and 1 BNO55 there should be no address conflicts. If you add a second BNO055 you will have to connect the ADDR pin on the BNO055 to 3.3v and it...
  40. Replies
    3
    Views
    167

    Not 100% sure that chip will be compatible. A red...

    Not 100% sure that chip will be compatible. A red flag for me from the data sheet shows the maximum clock on that chip is only 20 Mhz. You might want to check this post out:...
  41. Replies
    163
    Views
    5,547

    Short answer is yes. Several of us have tested...

    Short answer is yes. Several of us have tested the BNO080 in I2C mode. There was an issue but as Paul mentioned in post #71 that has been fixed since Teensyduino 1.49. We are up to 1.53 (latest). ...
  42. PSRAM is mentioned in this post...

    PSRAM is mentioned in this post https://forum.pjrc.com/threads/59040-CircuitPython-on-Teensy-4!?p=241797&viewfull=1#post241797 on the thread mentioned by @defragster. But you might still want to...
  43. Replies
    21
    Views
    500

    Yeah - theres that too - just didn't know how to...

    Yeah - theres that too - just didn't know how to phrase it and still on first cup of coffee :)
  44. Replies
    8
    Views
    302

    While the MotionSense library loads the cal data...

    While the MotionSense library loads the cal data for the accel and gyro I don't believe its ever been updated to do accelerometer calibration. See this PR in the MotionCal Library: Missing ability...
  45. Replies
    21
    Views
    500

    Re the CS pin change. Well the default CS pin...

    Re the CS pin change. Well the default CS pin for SPI is 10 and it was basically a hunch that pin 36 may not work automatically with the Lib. Was easier to suggest the pin change to see if it...
  46. The PSRAM runs at a default speed of 88Mhz which...

    The PSRAM runs at a default speed of 88Mhz which is set up in the core startup.c. However, you can change this to run at its max speed of 132Mhz if you want to try it by add the following in setup...
  47. I couldn't duplicate the problem you are seeing...

    I couldn't duplicate the problem you are seeing with my setup at all. Screen updated no problem. No problem with the config then - thought you were using a ST7735. Have to see if I can find my...
  48. Morning All I spent the morning looking over the...

    Morning All
    I spent the morning looking over the 2 libraries and there shouldn't be any conflicts that I can see. So while I don't have the same encoder and screen that you have I hooked up a...
  49. Replies
    21
    Views
    500

    I would recommend trying to change the CS pin...

    I would recommend trying to change the CS pin from 36 to 10 and see if that works. Not sure about pin using pin 36.
  50. Replies
    840
    Views
    32,908

    @KurtE Gave it a try and posted my comments in...

    @KurtE
    Gave it a try and posted my comments in the other thread. But I like it when you have a wired device. Be interesting if we could do that with attached Bluetooth devices as well :). May...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4