Skip to content

Commit

Permalink
led code
Browse files Browse the repository at this point in the history
  • Loading branch information
EmilySanders123 committed Feb 8, 2023
1 parent 553dfb9 commit 66bc11e
Show file tree
Hide file tree
Showing 15 changed files with 2,561 additions and 34 deletions.
Binary file added firmware/sylib.a
Binary file not shown.
4 changes: 2 additions & 2 deletions include/api.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@

#define PROS_VERSION_MAJOR 3
#define PROS_VERSION_MINOR 7
#define PROS_VERSION_PATCH 3
#define PROS_VERSION_STRING "3.7.3"
#define PROS_VERSION_PATCH 2
#define PROS_VERSION_STRING "3.7.2"

#include "pros/adi.h"
#include "pros/colors.h"
Expand Down
7 changes: 5 additions & 2 deletions include/main.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,10 @@
* For instance, you can do `4_mtr = 50` to set motor 4's target velocity to 50
*/
#define PROS_USE_LITERALS
#include "pros/apix.h"

#include "api.h"
#include "pros/apix.h"
#include "sylib/sylib.hpp"

/**
* You should add more #includes here
Expand All @@ -53,7 +55,8 @@
* namespace.
*/
// using namespace pros;
using namespace okapi::literals;
// using namespace pros::literals;
using namespace okapi::literals;
// using namespace okapi;

/**
Expand Down
23 changes: 0 additions & 23 deletions include/pros/motors.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1020,29 +1020,6 @@ class Motor_Group {
/** These functions let programmers configure the behavior of motor groups **/
/****************************************************************************/

/**
* Indexes Motor in the Motor_Group in the same way as an array.
*
* This function uses the following values of errno when an error state is
* reached:
* ENXIO - Out of bounds on indexing the motor groups.
*
* \param i
* The index value in the motor group.
*
* \return the appropriate Motor reference or the erno if the operation
* failed
*/
pros::Motor& operator[](int i);


/**
* Indexes Motor in the Motor_Group in the same way as an array.
*
* \return the size of the vector containing motors
*/
std::int32_t size();

/**
* Sets the position for the motor in its encoder units.
*
Expand Down
Loading

0 comments on commit 66bc11e

Please sign in to comment.