Skip to content

Commit

Permalink
Trying to fix this "unexpected symbol" error
Browse files Browse the repository at this point in the history
  • Loading branch information
mnr committed Apr 26, 2024
1 parent a95d3fd commit c4d49a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/rpi_pinToBCM.R
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
#' @examplesIf is.rpi()
#' #' \dontrun {
#' rpi_pinToBCM(1) # produces error since pin #1 is not data
#' }
#' rpi_pinToBCM(40) # returns a named vector where bcm_line = 21 and pin_name = GPIO21
#' }
rpi_pinToBCM <- function(pin_number) {
# check pin number. Are all values valid data lines?

Expand Down

0 comments on commit c4d49a5

Please sign in to comment.