DavidTroendle
New member
Colleagues,
Many years ago I used the 8-bit Teensies and really enjoyed working with them. I have an application (virtual floppy drive for old computers) that will require a fast micro controller. The Teensy 3.6 looks it will work, but I am new to the 32-bit Teensies. I have been doing a good bit or reading and watching videos, but still have a few questions.
1. Using a loop sketch that simply toggles an output pin, what is the frequency of the output pin. Here is sample code:
2. How stable is the waveform (i.e., is there anything else going on that would interfere with the waveform stability)? For instance, if this done on a device with a pre-emptive OS (e.g., Raspberry Pi), the scheduler injects jitter.
3. I will need a timer interrupt. Does TimerOne.h or some equivalent work on the Teensy 3.6? Could you point me to the documentation if not TimerOne.h?
Thanks in advance, and hope I am within the rules of the forum.
David
Many years ago I used the 8-bit Teensies and really enjoyed working with them. I have an application (virtual floppy drive for old computers) that will require a fast micro controller. The Teensy 3.6 looks it will work, but I am new to the 32-bit Teensies. I have been doing a good bit or reading and watching videos, but still have a few questions.
1. Using a loop sketch that simply toggles an output pin, what is the frequency of the output pin. Here is sample code:
Code:
int SomePin = 2;
void setup()
{
pinMode(SomePin, OUTPUT);
}
void loop()
{
digitalWrite(SomePin, !digitalRead(SomePin));
}
2. How stable is the waveform (i.e., is there anything else going on that would interfere with the waveform stability)? For instance, if this done on a device with a pre-emptive OS (e.g., Raspberry Pi), the scheduler injects jitter.
3. I will need a timer interrupt. Does TimerOne.h or some equivalent work on the Teensy 3.6? Could you point me to the documentation if not TimerOne.h?
Thanks in advance, and hope I am within the rules of the forum.
David