-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1b864a3
commit 25b6557
Showing
1 changed file
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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() { } |