Skip to content

Thanks to this package, I make my Linux version of Swift PWMTone #4

@CmST0us

Description

@CmST0us

https://github.com/CmST0us/PeripheryKit/blob/main/Sources/PeripheryKit/Buzzer.swift

In my code, I use DispatchQueue to create pwm modulation and use linux gpio interface to control digital output.
But linux is not real-time system, so the it sounds not great.
But I can still recognize the lyric “Twinkle Twinkle Little Star”。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions