Forum Rule: Always post complete source code & details to reproduce any issue!
Tab Content
• Today, 01:05 PM
Not problem glad to help. This is deja vu. Seem to remember you working on the map() function a couple of years ago as well. If there is anything else you need checked let me know.
32 replies | 678 view(s)
• Yesterday, 09:07 PM
You are correct Michael. When I was looking at the c++ man pages it showed C99 and a tab for C++11.
32 replies | 678 view(s)
• Yesterday, 06:53 PM
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 map map1 map(+1) ...
32 replies | 678 view(s)
• Yesterday, 06:34 PM
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. I added this to...
32 replies | 678 view(s)
• Yesterday, 05:40 PM
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 in_min, long in_max, long...
32 replies | 678 view(s)
• Yesterday, 05:09 PM
I agree with you on how something simple can get overly complicated. Always subscribed to the KISS principal :)
32 replies | 678 view(s)
• Yesterday, 05:06 PM
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 defined as:
32 replies | 678 view(s)
• Yesterday, 04:22 PM
@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 search on the PRIX8...
32 replies | 678 view(s)
• Yesterday, 02:39 PM
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 that myself this...
32 replies | 678 view(s)
• Yesterday, 11:51 AM
Same here - all seems to be working. Ran with OpenGL, EigenTest, check42 psram test with no problem.
32 replies | 678 view(s)
• 10-23-2020, 06:27 PM
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. Tried BLINK...
41 replies | 831 view(s)
• 10-23-2020, 12:25 PM
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 WORKED!!!!!! Compiled...
41 replies | 831 view(s)
• 10-22-2020, 09:21 PM
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 second test I went...
41 replies | 831 view(s)
• 10-17-2020, 01:45 PM
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 ?
49 replies | 1762 view(s)
• 10-15-2020, 12:12 AM
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 to take a look unless...
40 replies | 4151 view(s)
• 10-14-2020, 11:53 PM
@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 TeensyLoader opened...
40 replies | 4151 view(s)
• 10-14-2020, 11:07 PM
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?
40 replies | 4151 view(s)
• 10-13-2020, 12:22 PM
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 8GB of mem, and...
40 replies | 4151 view(s)
• 10-10-2020, 10:50 PM
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, value: This is a text...
11 replies | 498 view(s)
• 10-10-2020, 08:54 PM
Indeed - very cool - have to give it a try soon! Nice find :)
11 replies | 498 view(s)
• 10-08-2020, 11:01 PM
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: https://github.com/KurtE/KeDeiRPI35_t3. Its based on...
12 replies | 330 view(s)
• 10-06-2020, 11:55 AM
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 makes you life easier.
163 replies | 5552 view(s)
• 10-03-2020, 06:28 PM
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 modified sketch I...
163 replies | 5552 view(s)
• 10-03-2020, 06:20 PM
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 application. Since I...
163 replies | 5552 view(s)
• 10-03-2020, 05:25 PM
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 don't think you need...
163 replies | 5552 view(s)
• 10-03-2020, 05:11 PM
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 or test the use of...
163 replies | 5552 view(s)
• 10-02-2020, 09:51 PM
Good Luck and definitely keep us posted.
163 replies | 5552 view(s)
• 10-02-2020, 07:35 PM
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 wire so the begin...
163 replies | 5552 view(s)
• 10-02-2020, 02:44 PM
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 - really shouldn't do...
163 replies | 5552 view(s)
• 10-02-2020, 01:53 PM
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 <Adafruit_BNO055.h>...
163 replies | 5552 view(s)
• 10-02-2020, 01:01 PM
@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.
163 replies | 5552 view(s)
• 10-02-2020, 12:57 PM
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.
163 replies | 5552 view(s)
• 10-02-2020, 12:29 PM
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; #include...
163 replies | 5552 view(s)
• 10-02-2020, 11:50 AM
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"); //...
163 replies | 5552 view(s)
• 10-01-2020, 08:41 PM
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:
163 replies | 5552 view(s)
• 10-01-2020, 08:38 PM
@el_supremo set it up so you can use the Arduino IDE!
9 replies | 270 view(s)
• 10-01-2020, 06:41 PM
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 spark fun libraries. ...
163 replies | 5552 view(s)
• 10-01-2020, 04:49 PM
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 logical step is to see...
163 replies | 5552 view(s)
• 10-01-2020, 04:49 PM
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 about coping the...
9 replies | 270 view(s)
• 10-01-2020, 03:59 PM
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 will give you a...
163 replies | 5552 view(s)
• 09-30-2020, 01:01 PM
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:...
3 replies | 167 view(s)
• 09-30-2020, 12:41 PM
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). With out further...
163 replies | 5552 view(s)
• 09-27-2020, 01:34 PM
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 ping them again since...
2 replies | 197 view(s)
• 09-27-2020, 01:30 PM
Yeah - theres that too - just didn't know how to phrase it and still on first cup of coffee :)
21 replies | 500 view(s)
• 09-27-2020, 01:29 PM
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 to calibrate...
8 replies | 303 view(s)
• 09-27-2020, 12:56 PM
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 would work. @KurtE...
21 replies | 500 view(s)
• 09-25-2020, 04:14 PM
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 before accessing the...
12 replies | 428 view(s)
• 09-19-2020, 02:21 PM
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 ST7789 and re-run the...
10 replies | 323 view(s)
• 09-19-2020, 01:45 PM
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 Adafruit ST7735 128x128...
10 replies | 323 view(s)
• 09-18-2020, 10:40 PM
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.
21 replies | 500 view(s)
• 09-15-2020, 10:04 PM
@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 look at that later -...
847 replies | 32932 view(s)
• 09-15-2020, 09:45 PM
Gave it a try with my 3d Connection Mouse attached. On startup it shows all the basic connection info: USB Host Testing 960 USB2 PLL running
129 replies | 20183 view(s)
• 09-15-2020, 06:07 PM
Well to be on the safe size you can just comment the clock code out and it will use the default clock of 88Mhz, otherwise use that table I posted to set the correct settings for 104 Mhz.
42 replies | 1338 view(s)
• 09-15-2020, 05:55 PM
Out of curiosity (that one always gets me), I added a delay(4) in rx_data after que: default: DBGPrintf("BluetoothController::rx_data : Unknown BT rx_data"); break; } // Start read at start of...
847 replies | 32932 view(s)
• 09-15-2020, 04:53 PM
@KurtE timing issue ran through my idea last night as well. Tried turning off the debugging stuff just to see what would happen. Basically nothing - had same issue. But had no idea where to even start to play with...
847 replies | 32932 view(s)
• 09-15-2020, 12:10 PM
Out of curiosity what Buydisplay model are you using?
129 replies | 20183 view(s)
• 09-14-2020, 10:33 PM
Important thing is keeping as much of the smoke out of your house. Anyway back to the XBOX. One thing I noticed on bot the T3.6 and T4.1 test is that if I loose the BT connection (either pull the dongle or pull the...
847 replies | 32932 view(s)
• 09-14-2020, 05:03 PM
@KurtE Something strange. Was adding a couple of debug prints to your stuff and all of a sudden after the upload it started working! Getting data. When i reloaded as a test went back to original issue? EDIT:...
847 replies | 32932 view(s)
• 09-14-2020, 04:21 PM
6 replies | 244 view(s)
• 09-14-2020, 03:01 PM
Just a cursory look at the cactus bme280 library looks like its hardcoded to just use 1 Wire bus. So simple answer is that with the library you are using you can't use 2 BME280's. However, with that said you can check...
6 replies | 244 view(s)
• 09-14-2020, 01:11 PM
In going through the Host shield code I noticed this: else if(l2capinbuf == interrupt_dcid && l2capinbuf == interrupt_dcid) { // l2cap_interrupt #ifdef PRINTREPORT Notify(PSTR("\r\nL2CAP...
847 replies | 32932 view(s)
• 09-14-2020, 11:50 AM
Morning @KurtE I just tried the whole process again and at least now its not trying to connect to the TV. :) Anyway, just a couple of observations: (1) After I get the EV_MAX_SLOTS_CHANGE the sketch seems to just...
847 replies | 32932 view(s)
• 09-14-2020, 01:30 AM
847 replies | 32932 view(s)
More Activity

#### Basic Information

Location:
New York
Interests:
Robotics, Image Processing
Occupation:
Aerospace Eng (Retired)

#### Statistics

##### Total Posts
Total Posts
5,598
Posts Per Day
2.43
Last Post
Teensyduino 1.54 Beta #2 Today 01:05 PM
Last Activity
Today 01:05 PM
Join Date
07-01-2014