If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

I don't think I have tried the RF24s... I am playing around some with the RF95 with the touch screen... I have not played much yet with the touch...
On my Well monitoring board, WIP, I have the RF95 using SPI1. It...

Sorry, tempting but I don't give out my personal information like where I live on the forums...
At one point I thought of purchasing one of the displays... But Norton gives a lot of warnings a about the site...

Agree with Frank... Another option is to look at the Arduino sources...
In particular if you look at the teens3\core_pins.h file
You will find sections for each pin...
#define CORE_PIN10_BIT 4
#define...

As I mentioned, the easiest solution is to move the CS pin... And yes those are the valid pins to move to.
But to change the code to allow only needing DC requiring CS pin... Maybe the easiest thing would be to...

As mentioned SPI0 is faster than SPI1 and SPI2, but SPI1 and 2 are still very usable, as they still pretty well double buffer, so probably most of the time we can still keep things going pretty much at full speed.
...

Yes if this code is based off of the original ili9341_t3 library, than it won't work as pin 4 is not a valid hardware chip select pin.
So the code bails as it can not properly encode the chip select into the PUSHR...

Sorry, I don't have time or the hardware to debug your code. I did a quick look through your changes and again not sure how the layers effect it.
But I do think you will have issues with your just removing the...

Again I am not really sure what your swapping of visible layers gets you... If it is some form of double buffering. Can you not simply alternate between the two and only output one buffer per character output?
But...

On some boards that I am using these displays, I tie the displays reset line to the CPU reset line, so it gets reset each time the processor resets...
I think the first place I saw that done was with @FrankB's flex...

To reiterate what Paul mentioned, your numbers are starting to get you closer to understanding what is going on... Also as I mentioned in previous posting, it helps for us to read the code when you put the code in...

Again I do not have nor know this hardware... So I don't understand the details of for example Layers? For example why each time you get a character do you do two full calls through drawing things first in Layer 1 and...

Sorry, I don't have your hardware... I did edit the code to put in code tags as to make it easier to read (The # button on the posting pages)
Did you try instrumenting the code the way that Paul suggested?

You might also want to verify that there is not some bound condition bug in your code that may end up either calling memmove or memcopy with some large number, like if your calculation ends up passing in a size of -1 or...

Looks interesting. I know some others have made Teensy based Logic Analyzer code, like: https://github.com/LAtimes2/TeensyLogicAnalyzer
If it were me, I would maybe experiment, making a local copy of @pedvide code...

Sorry hard for me to know how your keyboard is actually hooked up internally. Yes having Rows/Columns using same pin I would believe would be problematic.
Again I have not used this library, but long time ago...

If you are using Windows, than simply use github Desktop for windows: https://desktop.github.com/
It works pretty simple. I am not an Git expert, but can do a few things. I do google a lot to remember more advanced...

Yes,
All of those constants have things like 0xFF00 ored onto them, which won't fit into a byte...
I had something similar with this in the USB Host code and we had a macro which reduced these to a byte... I...

If it were me, I would probably try to make an updated spreadsheet with two dimensions showed.
That is have a set of rows going down for the pins: 1-9
Then setup a set of columns with each unique value that you...

Sounds great! Will give it a try, but it may have to wait until Tomorrow.
If you are trying to setup a new release, should I try to get some of the USB Host stuff ready?
a) easily right now I could setup to take...

Just guessing here as you did mention what code you are using, like which library.
But in cases like this, it often is an issue where you have some other version of the SD library in your <Arduino Sketch...

Thought I would mention, that I am still playing around here...
Right now playing with PS4(DS4) controller connecting up wirelessly... I do have it such that I can bind to it and some of the times I am getting it to...

I decided to make a few mods to my display board that was similar to Frank's flex board, to make things connect a little better.
I converted over to screw terminals for the sensors. I added spot to connect the...

Not sure what you are asking... If you have an RPI3 without the USB connectors... The signals, you would need to setup 4 wires.
If you look at the T3.2 schematic: https://www.pjrc.com/teensy/schematic.html and what...

At one point I was going to try to build a 64 bit version to run on Odroid C2, but never got very far. There was some issue that I was running into like, parts of the compiler or the like were prebuilt archive files...

Yes - good to see LoRA working. Still need to do walking, as will need to debug hang... Update Code... Would be nice to be able to remote program it... Too bad I don't have wifi out there... Then could hook up RPI or...

Yes it looks like the Teensy 2/2+ mouse class which is in the usb_api.h... stuff was not updated to the newer stuff in the Teensy 3.X and LC code base. Looks like those new calls were added something like 4 years ago...

Thanks again,
Right now I am trying using the current sensors... I had someone on another forum suggest that it was probably safer to use the current sensors which does not make any modifications to AC circuits,...

Sorry I don't know the answer. There may be a couple things to look at to see how possible including
a) Can you configure the display to actually be the 160x120 and it takes care of blowing up each pixel...
b)...

Note: there are several Eagle libraries for the T3.5/6 including one mentioned up at: https://www.pjrc.com/teensy/eagle_lib.html
As for Diptrace I have my over easy version, but you can also simply use the Eagle to...

Note: I have not looked recently to see if Frank's code has been updated to handle refreshOnce to actually only update once... More in a minute.
Continuous versus one shot. As for overhead someone like Paul...

I ran another one... The interesting thing is the window says offline... But I am getting output showing up in the window, although it is grayed/dimmed in the off line state...
15:29:07.992 (ports): nothing new,...

Looks like Norton eat it... Trying to work around Norton right now..
Disabled the real time scan in folder, now it allowed me to put the updated file there...
It runs and now does allow me to download to T3.6 :D...

Hi Paul,
Thought I might try out your zip file... Assume they all went into hardware\tools...
When I tried a build (after reverting back from tycommander), I did a build for T3.6... W10 64 bit...
Got to the...

FYI mt ili9341_t3n library has Franks Dma like stuff in it. I started by adding the code like his and then integrated more of the graphic primitives with the frame buffer code and also added better support for ding...

As mentioned, would help to see the actual wiring. That is the display will probably work fine output only without the MISO pin connected, but the Read won't work it it is not setup with it.
Some of the test...

I have windows 10 64 bit 1.85... Tried with a T3.6 and a T3.2 plugged in.
Tried to reprogram the T3.2 on COM21 (3.6 on COM5)... It did not program:
D:\arduino-1.8.5\arduino-builder -dump-prefs -logger=machine...

Another update:
I have a version of code that now ties the Bluetooth up to keyboard. Added another list like HID list, where the keyboard object derives from. I have the Bluetooth code now call off to the...

Thanks @jwatte as reply on Trossen Robotics forum, as I said that seams like the simplest solution.
Another option as mentioned by @ dgranger and use an opto-isolated circuit like what was mentioned in the thread:...

Time again to revisit this thread :o
As again this last week, my Storage Tank was empty (2800 gallons) again. Still not 100% sure why yet. Highest probability is that one of the outside buried Hydrants is leaking,...

As Paul mentioned, probably can not help much without additional information.
Like are you trying to run the Arduino installer and teensysduino on the NVidia? Or are you trying to run it on a PC/Mac/ Other linux...

Yes some of the time. It works fine for my limited needs. Other times I still revert to using a buzzer circuit as I mostly do things like beeps...
Also at times not sure again what sound I want/need when this is...

Thanks!
Luckily the Saleae stuff gives me most of the data. Also helps to be able to compare to both Linux and to USB Host shield 2.
I started off trying to emulate the Linux side, but later started to go more...

I think the idea is, that suppose the teensy shows up as /dev/ttyACM0.
You could run a command something like: sudo ln -sf /dev/ttyACM0 /dev/ttyUSB99
Not sure if it verifies that it is a number, so you could try...

I2c can be shared. Each device has its own address and only respond to requests that are specified for your specific address.
As for using different busses. You can go into the library you wish to change and simply...

If it were me I would try your code on one of the standard usb configurations, that contain both the items you want and see if that works. If it works than probably something incorrect in your configuration ...

You are hooking up the multimeter to the T3.6 using the host adapter?
If so, try running the Examples: USbhost_t36/SerialTest and see what it does?
It should hopefully say something like what brand/type...

You need to post additional information like the code you were using.
Are you up to date with the current version of the USBhost shield 2 code base?
Did you follow the instructions for using with Teensy?...

Sounds like a reasonable solution.
I thought about suggesting something like that as well as to try to minimize other interrupts during the software serial processing.
As for re-configuring Serial ports while...

You can get a Teensy LC for $11.29 https://store.oshpark.com/products/teensy-lc
There are probably lots of other options (personally I like Teensy...), but for example you can get a Robotis Open CM904A chip $9.95...

Not sure what you are asking, nor the context...
But for example if you receive a binary value from Serial1 and wish to output it as an Ascii string back on Serial.
int value = Serial1.read(); // this reads in...

It has been awhile since I have used the DIGI software and when I do, I still gravitate to the old version of the software. In the old version I think there was some connect button to have the terminal monitor...

When you try running it, does the RSSI leds on the XBee adapters light up? Again this would show if the two xbees are talking.
From your earlier posting it looks like the IDS are setup for MY and DL to work.
...

How is the switch setup? Looks like there is a switch to use pins 20 and 21 with software serial.
Else uses pins 0 and 1... Which I would recommend.
In that case remove altSerial and replace all references to...

Not sure what you mean by dedicated to "external interrupts"
But if you look at the hardware table: https://www.pjrc.com/teensy/techspecs.html
You will see there are 58 digital IO pins on the Teensy 3.5 and there...

Again I don't know this board or setup, so your guess is as good as mine...
As for easier to use Usart, yes... You simply open the device and do reads/writes... Of course after you take care of setting up board rate...

I have not tried Olimex boards, I have run a few different Linux boards, like RPI2/3, plus several Odroid boards (C1, C2, XU4) and an UP board (x86) and earlier with Edison board.
I have played around with my own...

Hard to say what is going on, without seeing more information, like a small program the demonstrates what you are actually doing.
I have use XBees on different Serial ports without using USB without any problems.
...

My guess is that the examples need to be updated for the different boards.
If I looked at section 39.5.8 for the Temp stuff. It shows something like:
Looking at the Electrical PDF for T3.6, I think m is in the...

As for WIKI being perfect? Probably not. Do many of them have lots of detritus, absolutely.
Obviously it would be great if PJRC had the resources and inclination to be able to come up with a full set of...

Sorry, I have not had any issues using Xbees in the past. Although I mainly only used Series 1 using simple input and output to Serial ports.
As mentioned at the top of each forum posting. Really can not help much...

Great looking stuff... Can't wait to see it when you have it up and running!
FYI - I now have some of the library working with Protocol 1 and Protocol 2 stuff. I will push up copies of the library and test...

Thought I would mention, that the two new servos arrived yesterday, so playing around some with them.
I was able to talk to them using the OpenCM9.04... Now trying with one of my T3.2 boards.
Currently in the...

Yes the Adafruit library works as it is just doing standard SPI library access, which the CS and DC pins are just using logical digitalWrite calls to set their levels.
The _t3 library is using the actual CS/DC...

May be difficult to know what is going on, without knowing how you have it setup...
That is: What pins are you using for the display.
Did you actually use these actual pins:
#define TFT_DC 28
#define TFT_CS 9...

Might help to know what type of computer you are using? I am assuming Windows, as you mentioned device manager? Which version... If version < 10? If so did the device stuff install properly?
Are you trying using...

To me, it is hard to give a complete answer as not knowing your actual needs...
As mentioned there are several options for nRF modules. I know that Sparkfun/Adafruit... sell several different ones. There are often...

I also went the route @WMXZ did for some projects, like my Phoenix In Parts project for hexapods...
Where the main.ino you simply have a local header file with options and your main ino file that just includes...

Again there are probably other better boards. But early on, I did a quick and dirty castellated board for the T3.5/6, which I think got me all of the pins. I did them into two rows on each side so it did not work well...

Assuming it is the RF24 library that you can install using the Arduino library manager...
My quick look through it, it appears like it does not support the SPI.beginTransaction stuff... So again as Michael...

Note: only the Teensy 3.6 has the second USB port, as you can see in the Teensy comparison document:
https://www.pjrc.com/teensy/techspecs.html
You might be able to use something like the USB Host shield product,...

quick update: Probably talking to myself...
I tried moving the USB Host adapter to be run by T3.6 instead, also hooked up faster logic analyzer...
The SPI signal looks better on the Logic Analyzer. Not sure if...

As others mentioned having a second bus should help.
As you are using the interval timer to access the DAC, it may not be an issue. But thought I would mention, that even with two or three SPI busses calls to...

I thought I would mention, I have started to play with trying to get some Bluetooth support into the USBHost_t36 library.
I am starting off by capturing some USB host packets on a Linux machine (I have tried both...