Skip to content

Commit

Permalink
update example
Browse files Browse the repository at this point in the history
  • Loading branch information
tatarchm committed Sep 7, 2024
1 parent ec2f253 commit 85abc7e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/cheatsheets/coding_cheatsheet.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
`Serial.println(value)` то же самое, что `Serial.print`, но с переносом строки

```c
# Example
// Example

void setup(){
Serial.begin(115200);
Expand All @@ -45,7 +45,7 @@ void loop(){
`digitalWrite(pin, value)` вывести на пин номер `pin` значение `value` (`HIGH` или `LOW`)

```c
# Example
// Example

void setup(){
pinMode(13, OUTPUT);
Expand All @@ -67,7 +67,7 @@ void loop(){
[Таблица частот музыкальных нот](https://upload.wikimedia.org/wikipedia/commons/a/ad/Piano_key_frequencies.png)

```c
# Example
// Example

void loop(){
tone(10, 440, 100);
Expand Down

0 comments on commit 85abc7e

Please sign in to comment.