Skip to content

Commit

Permalink
fixed button link lol
Browse files Browse the repository at this point in the history
  • Loading branch information
tguyenn committed Sep 17, 2024
1 parent b741b48 commit feaa141
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/_sections/_guide-general/forms.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ This page contains direct links and forms that you might need for Robotathon!

[Robotathon Linktree](https://linktr.ee/robotathon2024?utm_source=linktree_profile_share&ltsid=e97f46bf-044a-4460-9ae9-b069387234ea){: .btn .btn-purple }
<br>
[Robotathon Dues Form (https://utdirect.utexas.edu/txshop/item_details.WBX?application_name=ENENGALU&component=0&dept_prefix=EN&item_id=155&cat_seq_chosen=01&subcategory_seq_chosen=000)](a){: .btn .btn-green }
[Robotathon Dues Form](https://utdirect.utexas.edu/txshop/item_details.WBX?application_name=ENENGALU&component=0&dept_prefix=EN&item_id=155&cat_seq_chosen=01&subcategory_seq_chosen=000){: .btn .btn-green }
[RAS Dues Form](https://utdirect.utexas.edu/nlogon/txshop/item_details.WBX?application_name=ENENGALU&component=0&dept_prefix=E2&item_id=199&cat_seq_chosen=02&subcategory_seq_chosen=000){: .btn .btn-green }
<br>
[RAS Safety Waiver](https://docs.google.com/forms/d/e/1FAIpQLSdRvNc2R3vnG0AXu4k7bypacyeB2jgF_D1nDPq76kE8WIIBmQ/viewform){: .btn .btn-green }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ The following is an example of configuring and running the motor in software:
#define ENA 25 // PWM pin

void setup() {
Serial.begin(115200);
pinMode(IN1, OUTPUT);
pinMode(IN2, OUTPUT);
pinMode(ENA, OUTPUT);
Expand All @@ -66,7 +67,7 @@ void loop() {
// Move motor forward
digitalWrite(IN1, HIGH);
digitalWrite(IN2, LOW);
analogWrite(ENA, 128); // Set speed (0-255)
// analogWrite(ENA, 128); // Set speed (0-255)

delay(2000); // Run for 2 seconds

Expand All @@ -76,6 +77,11 @@ void loop() {
analogWrite(ENA, 0);

delay(2000);

// Move motor backward
digitalWrite(IN1, LOW);
digitalWrite(IN2, HIGH);
// analogWrite(ENA, 128); // Set speed (0-255)
}
```
More detailed information about the L298N motor controllers can be [found here!](https://lastminuteengineers.com/l298n-dc-stepper-driver-arduino-tutorial/)
Expand Down

0 comments on commit feaa141

Please sign in to comment.