Skip to content

Instantly share code, notes, and snippets.

View ryonagana's full-sized avatar

Nicholas Oliveira ryonagana

View GitHub Profile
import os
import sys
import base64
from stat import S_ISREG
import itertools
if __name__ == "__main__":
#include <SoftwareServo.h>
//constantes
const int MAX_SERVOS = 2;
const int servoInput[MAX_SERVOS] = { 3,2 };
const int sensorPerto = 500;
const int sensorLonge = 4500;
const int maxLeituraPorSensor = 5;
const int servoPosLonge[MAX_SERVOS] = {0,160 };
@ryonagana
ryonagana / build.zig
Last active April 25, 2025 01:08
Simple Allegro Application Using Zig 0.14.0
const std = @import("std");
const LazyPath = std.Build.LazyPath;
pub fn build(b: *std.Build) void {
const target = b.standardTargetOptions(.{});
const optimize = b.standardOptimizeOption(.{});