Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
10 years, 3 months ago.
Nooby... How can you speed up the digital i/o on FRDM K64F?
FRDM K64F Digital output toggle speed... why so slow?
- include "mbed.h" DigitalOut pin9(PTC4); int main() { while (true) { pin9 = 0; dumb toggle (without read/negate) 1.25MHz (800ns/cycle) pin9 = 1; pin9 = !pin9; "smart" toggle square wave 732kHz (1.36us/cycle) } }
Can you use
posted by Thiago . 21 Feb 2016<<code>> //your code here<</code>>to make ir easier to read?