would rather use this with millis.
I’ll stick with that, I have a few function calls with SPI, currentsense encoder and TFTScreen in the background.
I think this is a better start. For the INA pin. I’ll leave INB...
Hi Defragster,
now its my turn, i didnt understand a thing you just told me, no offense.
never worked with ISR, had it in my studies but never worked with it.
no clue what speeling is.
il elaborate:D
ill go...
of course i can tune them indepedent from each other
but its a bit trickier, i have to set the On and OFF Time very low...
any suggestions?
int ledPin13 = 13; // the number of the LED pin
int ledState13...
i thought combining the two independent millis into one would be proof much usefuller, why is it only reacting to the first If statement in the void loop?
why cant i control the OnTimePulseClock and OffTimePulseClock?...
Good morning,
So as to speak I’ll try this with elapsedmillis, I have more going on in my code. How do I check that the ONTime from the bald engineer link isn’t passed?
int setToggleTime=500;...
Didn’t had any luck today running this kind of code inside an independent on off function
Somehow I am misreading my signals from the teensy4.1.
I’ll try it first thing in the morning!
I have one of those days that something is so simple,
You can’t get your head around it.
Simple Toggle
Void setup()
{
pinMode(13,OUTPUT);//led during On Time
Hello guys,
i am currently trying some stuff, i am using the st7735 with a teensy3.2 and encoder from Sparkfun. i am using the buttonEvent to scroll down and up(double click in the menu).
there are two questions...
hi silverlock,
had some other stuff to do.
id expect that it would countdown from 3,2,1,0.
but then it goes to 6:28:15.
unsigned long Days = 0;
unsigned long Hours = 0;
unsigned long Min = 0;...
Probably a warning, no error, program runs.
I’ll switch the if statement so that the condition is changed.
still I think the problem is here? DisplaySec=Sec%60;
hi guys,
i am trying to build a simple countdown with a teensy3.2 with the millis function: but somehow the code is not responding properly could you see where the problem is? the code runs fine if the days is set to...
so i changed the max31855 cpp and h file, as suggested on github. still getting zero values, and no errors.
i tried adding the spi.begin(); but that didnt do anything as well.
i restarted the arduino and the...
thanks for the fast reply Kurt!
i dont have a clue what the SPIClass *theSPI = &SPI means and the implementation
Adafruit_MAX31855::Adafruit_MAX31855(int8_t _cs, SPIClass *theSPI)
: spi_dev(_cs, 1000000,...
i also added into the void Setup the:
SPI.begin();
SPI1.setSCK(27);
SPI1.setMISO(39);
SPI1.begin();
do I also have to set something like the CS to SPI1.setCS(36)?
Hi group,
good morning,
I solved the part that the tft screen is working again. now to the real problem.
i cant get the code working on a teensy4.1, it worked before on a teensy3.6, its probably a simple...
Hello, I re-did my circuit board. and it worked before together with a featherwing 3.5, but I am getting Zero readings from my 4 thermocouples. Max31855 type K,
SPI1
I used two seperate SPI lines on the teensy4.1...