Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
IngrownMink4 authored May 11, 2021
1 parent 1b864a3 commit 25b6557
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions arduinocode.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
#![allow(dead_code, mutable_transmutes, non_camel_case_types, non_snake_case,
non_upper_case_globals, unused_assignments, unused_mut)]
#![register_tool(c2rust)]
#![feature(register_tool)]
#[no_mangle]
pub static mut motorDer: libc::c_int = 5 as libc::c_int;
#[no_mangle]
pub static mut motorIzq: libc::c_int = 6 as libc::c_int;
#[no_mangle]
pub static mut ldrDer: libc::c_int = 0;
#[no_mangle]
pub static mut ldrIzq: libc::c_int = 0;
#[no_mangle]
pub static mut ValLdrDer: libc::c_int = 0 as libc::c_int;
#[no_mangle]
pub static mut ValLdrIzq: libc::c_int = 0 as libc::c_int;
#[no_mangle]
pub static mut sensorpir: libc::c_int = 12 as libc::c_int;
#[no_mangle]
pub static mut ledVerde3: libc::c_int = 8 as libc::c_int;
#[no_mangle]
pub static mut ledVerde4: libc::c_int = 9 as libc::c_int;
#[no_mangle]
pub static mut ledRojo2: libc::c_int = 10 as libc::c_int;
#[no_mangle]
pub static mut ledRojo1: libc::c_int = 11 as libc::c_int;
#[no_mangle]
pub unsafe extern "C" fn setup() { }

0 comments on commit 25b6557

Please sign in to comment.