Yeah of course haha I released the button.
That may be what needs to happen, but is not. For example, I have my sketch running which is blinking the LED in a certain pattern. Pressing/holding the program button...
An overview of government's programme to develop safer and more productive technologies for working in extreme environments.
Published 18 April 2018
From:
Engineering and Physical Sciences Research Council,...
Hi oddson, if there is no CC to get from the M3 (That is, the synth doesn't send them because there is none assigned to the switches on the synth's preset), it's OK to have the sw's set to 0 or the last value they...
Execution time is rather not predictable, since it is probably influenced by other (hidden, system) interrupts with higher priority, then there is the cache hit or miss problem with "if-then" or for-loops in the...
Mike, maybe ill find time later today to rip my setup apart, solder pins to one of my t3.2’s, and hook up a 3.5 to a 3.2 for testing on my setup. maybe this way i can finally see the issues your describing with 3.2’s,...
Hi everybody,
I am trying to use the library <PID_v1.h> in Teensy 3.5. In particular I would like to execute the myPID.Compute(); inside an IntervalTimer function at a frequency of 1 kHz. Inside the function I also...
Tim, for ring buffer list()
https://forum.pjrc.com/threads/50008-Project-SPI_MSTransfer?p=176301&viewfull=1#post176301
is this okay or you want other formatting options?
Looks like you're implementing I2C with bit bashing the GPIO registers. You probably need to add many more software delays, since the chip is much faster than the rise times of those signals. For example, I see busy...
Easy enough. Edited the post.
@Defragster, KurtE & other "plus" users... please feel free to add code tags if you see these messages. Just add a quick note in the reason for editing field.
That is absolutely the wrong result!
First, before you try anything else, do these 2 things on your PC.
1: Keep Teensy Loader open and on top of other windows where you can see it, but turn off "Auto" mode (the...
Hi! I have written a code in Keil and am using Teensy 3.2 and its audio shield. I am experiencing some issues with regards of getting an acknowledgement signal from the audio shield. Any help would be appreciated. Here...
Just updated the posted text :: T_3.6 has a built in reset -Power up then Press and hold the Program button for a timed 15 seconds - THEN RELEASE the button.
The release was implied by 'timed' - was the 15 second...
The linked thread does not help.
I tried plugging in the teensy and then holding the reset button for 15 seconds. That makes the LED blink slowly. That had no effect on my ability to upload code. I also tried...
This previously listed, Teensy based project, now includes macro recording and playback facilities.
It utilizes a blue-tooth module for wireless connection. Get the free/no ads Commander Macro Player app and turn any...
Nice work,
I only wanted to correct Andersen (the work you quote in your write-up) and others wo claim the same. You do not NEED 5 sensors but only 4 to obtain a linear set of equations. With 4 sensors you can form up...
still blasting here at 4745 Hz f&f’s :)
even if you got the 3.2 working at 1sec delay, thats a good starting point to tweak the different timing areas to see where it crashes
did u try modifying MHZ, or added delay to “slowdown” in H file? remember we set > 12mhz no delay?
theres a setting somewhere u dont have setup i think
Without audio shield extension, we often need several analog input for potentiometers. Is it possible to implement multichannel ADC object to accommodate a stereo input (L+R), one microphone, and 2-4 potentiometers? ...
Assuming nothing in this post is new or untried and none of it works?
Is everything unplugged that can be?
T_3.6 has a built in reset -Power up then Press and hold the Program button for a timed 15 seconds - THEN...
Hey guys,
I have a bunch of teensy 3.6s and one of them is acting up for no apparent reason. It completely refuses to take a new program. I have tried 4 different USB cables, different USB ports to no avail. All of the...
In the linked code, you know what the next value of the variable 'i' is going to be, so you could change that readInputs function to set up the mux address to the next input to be read and reduce or eliminate the delay...
Ok. Got the 3.2 to respond at least. But heres the deal:
I get a response but slave fires once for
It gets to close to 1 for 1. I tested at 2500 but loop as to be on the order of 1 sec.
Don't know if the...
This sketch: http://www.g7smy.co.uk/2014/08/rotary-encoders-on-the-i2c-bus/ with polling instead of interrupt, works.
So something in interrupt setup is not ok in previous sketch.. :(
I may have answered my own question from the K64 manual, which states:
Still, I'd like to hear any suggestions. Perhaps I could use the comparator to a static reference?
Does anyone know how to access the 3 6-bit DACs that are part of the 4 Analog comparators on the K66 and K64?
I was thinking of trying to add voltages from two 6 bit dac and two of the 12 bit dacs to get 2 outputs...
Going to reinstall after diner and try again.. Maybe I screwed something up .. but I remember I zipped the old files and then copied and pasted - hope I opened the right zip though.
go higher, exagerate if you have to, its micros() so try like 33333, maybe ur 3.2 cant handle a faster micros? if i go 300 or below i get what you got on #1368, when i go over 400 no issues, even works when i put 10000...
Just not working. Tried 300, 500, 800 and 100 on the master at 168 and the slave at 120. Same thing keeps happening. I also tried different combos of CPU speed on the master and slave, same thing.
EDIT> Need a...
#1368 will happen if you DON'T specify the value
Find your sweet spot so we can update it as default :)
default is 100 (uS) , 400 or higher is working on my t3.5 slave
this is the one im running ATM non stop, OT still 0, 4746 Hz F&F's
Master:
#include <SPI.h>
#include <SPI_MSTransfer.h>
#include "A_ConfigDefines.h"
//#define SPI_SPEED 30500
#define SPI_SPEED 30000000...
Sadly a symbolic name has never been assigned to these internal ADC channels. For T3.5/3.6, use analogRead(71)
hardware/teensy/avr/cores/teensy3/analog.c
Here is a new update for you. Decided to let it sit for about 10-15 minutes and finally got some data over to the slave:
0.00, #, #, #, #, #, #, #, #, #, #, #,1,0
I agree, avoids having to play around with timing - just defaults to the minimum. - regardless of the config issues I am having with the 3.5/3.2 combo.
on the t3.5/T3.2 combo - master on T3.5 at 168 and slave on T3.2 at 120 - nothing: all I got on the master was:
C:\Users\CyberPalin\Documents\Arduino\tontons_i2c_master\tontons_i2c_master.ino Apr 19 2018 16:32:24
SUM:...
The fragment is missing the part that says 'if a PC is detected then reset the timer' rather than in the 'else'
elapsedMillis scanStart; // add to the pre-setup code
...
void loop(){
usbMIDI.read();
if...