7 releases
0.1.6 | Sep 30, 2020 |
---|---|
0.1.5 | Sep 30, 2020 |
#1013 in Embedded development
49 downloads per month
22KB
483 lines
rust_template
This is a template repository for Mech_1 class in RU
lib.rs
:
GPS_Gunnlaug_18
This program reads GPGGA and print data from GPS
Example Setting UART
GPS-Gunnlaug_18::GPS;
use rpi_embedded::uart::{Uart,Parity};
pub fn settings_uart(&mut self){
let mut uart = Uart::new(Settings::Baudgps.get_baud(), Parity::None,Settings::Data.get_baud() as u8,Settings::Stopbit.get_baud() as u8).expect("Initializing failed!"); //115_200
loop{
let string_read = uart.read_line().expect("GPS reading failed");
Dependencies
~375KB