Ypsilon Script (YS) is a simple high-level language that compiles to C++ for microcontrollers. It's designed to make microcontroller development accessible, structured, and type-safe.
Write clean, type-safe code with classes, enums, structs, and pattern matching, then compile to efficient C++ for your microcontroller.
load <Servo>
// Hardware setup
mut Servo myServo on pin 9
// Main program
on start {
myServo.attach()
}
on loop {
myServo.write(90 deg)
wait 1s
myServo.write(0 deg)
wait 1s
}
Ready to start using Ypsilon Script? Check out our documentation for detailed guides and language reference, or head to the download page to get the compiler.
Ypsilon Script is open source software released under the MIT License. We welcome contributions from the community. Visit our GitHub repository to get involved.