Skip to content

RGBHeadlight#1

Open
s0hum wants to merge 3 commits into
NextFTC:developfrom
s0hum:sohum
Open

RGBHeadlight#1
s0hum wants to merge 3 commits into
NextFTC:developfrom
s0hum:sohum

Conversation

@s0hum
Copy link
Copy Markdown

@s0hum s0hum commented May 13, 2026

No description provided.

s0hum added 2 commits May 12, 2026 19:10
…t class extending NextServo (documentation for RGBHeadlight might be cooked)
pwmRange = PwmControl.PwmRange(lower, upper)
}

fun setPosition(position: Double) {
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You don't need this; you can just call servo.position = something. A setPosition function is generated by the Kotlin compiler for Java users.

Comment thread hardware/src/main/kotlin/dev/nextftc/hardware/servos/RGBHeadlight.kt Outdated
Comment thread hardware/src/main/kotlin/dev/nextftc/hardware/servos/RGBHeadlight.kt Outdated
@zachwaffle4
Copy link
Copy Markdown
Collaborator

Can you merge the develop branch into your branch, please?

Co-authored-by: Zach Harel <zach.harel42@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants