Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
earlephilhower committed May 6, 2021
2 parents a62075d + 47915df commit 6cf0b30
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cores/rp2040/Arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@ float analogReadTemp(); // Returns core temp in Centigrade

// PWM
void analogWrite(pin_size_t pinNumber, int value);
void analogWriteFreq(uint32_t freq);
void analogWriteRange(uint32_t range);
void analogWriteResolution(int res);

// Timing
void delay(unsigned long);
Expand Down
18 changes: 18 additions & 0 deletions keywords.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#######################################
# Syntax Coloring Map
#######################################

#######################################
# Datatypes (KEYWORD1)
#######################################

#######################################
# Methods and Functions (KEYWORD2)
#######################################
analogWriteFreq KEYWORD2
analogWriteRange KEYWORD2
analogWriteResolution KEYWORD2

######################################
# Constants (LITERAL1)
#######################################

0 comments on commit 6cf0b30

Please sign in to comment.