Feature #1681

digitalWriteFrame and digitalWriteFrameOnce

Added by Giulio Moro over 9 years ago. Updated over 9 years ago.

Status:ClosedStart date:2016-04-20
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-

Description

The difference between the two is not obvious from the docs, neither it is always clear from the example code.
As a result, people tend to use digitalWriteFrame() on a sample-by-sample basis, causing high CPU load.

I would suggest renaming digitalWriteFrameOnce to digitalWriteFrame (to make it equivalent to analogWriteFrame/audioWriteFrame), and renaming the current digitalWriteFrame to digitalWriteFramePersist

History

#1 Updated by Giulio Moro over 9 years ago

  • Status changed from New to Closed

renamed api

Also available in: Atom PDF