Skip to content

Commit

Permalink
Update coding.md
Browse files Browse the repository at this point in the history
  • Loading branch information
GramGra07 authored Sep 11, 2023
1 parent 7e53891 commit f71ed37
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions coding.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ The java coding language that we use is not incredibly hard to learn once you fi

- Configuration <a name = "config"></a>

```DcMotor name = hardwareMap.get(DistanceSensor.class, "name");```
```DcMotor name = hardwareMap.get(DcMotor.class, "name");```

The second name is the one you will use in the configuration guide in your driver station. The first name is the one you will use to set powers and other functions.

Expand Down Expand Up @@ -398,4 +398,4 @@ Game-pad inputs are the base of teleOp. You can use ```if(gamepad1.left_bumper){
[eP]: /encoders.md
[hP]: /README.md
[rr]: /roadRunner.md
[cv]: /openCV.md
[cv]: /openCV.md

0 comments on commit f71ed37

Please sign in to comment.