Skip to content

RGBHeadlight#1

Open
s0hum wants to merge 1 commit into
NextFTC:developfrom
s0hum:sohum
Open

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

Conversation

@s0hum

@s0hum s0hum commented May 13, 2026

Copy link
Copy Markdown

No description provided.

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?

@s0hum

s0hum commented Jun 21, 2026

Copy link
Copy Markdown
Author

I finished it, should be good

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