diff --git a/docs/doc/arduboy_rust/heapless/struct.String.html b/docs/doc/arduboy_rust/heapless/struct.String.html index bae06ec..c378d1b 100644 --- a/docs/doc/arduboy_rust/heapless/struct.String.html +++ b/docs/doc/arduboy_rust/heapless/struct.String.html @@ -1362,7 +1362,7 @@ sufficient, and should not be overridden without very good reason.==.
source§

fn ne(&self, other: &str) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<const N1: usize, const N2: usize> PartialOrd<String<N2>> for String<N1>

source§

fn partial_cmp(&self, other: &String<N2>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= -operator. Read more
source§

impl<const N: usize> Printable for String<N>

§

type Parameters = ()

source§

fn print_2(self, _params: Self::Parameters)

source§

fn default_parameters() -> Self::Parameters

source§

fn print(self)

source§

impl<const N: usize> Serialprintable for String<N>

§

type Parameters = ()

source§

fn print_2(self, _params: Self::Parameters)

source§

fn default_parameters() -> Self::Parameters

source§

fn print(self)

source§

impl<const N: usize> Serialprintlnable for String<N>

§

type Parameters = ()

source§

fn println_2(self, _params: Self::Parameters)

source§

fn default_parameters() -> Self::Parameters

source§

fn println(self)

source§

impl<const N: usize> Write for String<N>

source§

fn write_str(&mut self, s: &str) -> Result<(), Error>

Writes a string slice into this writer, returning whether the write +operator. Read more
source§

impl<const N: usize> Printable for String<N>

§

type Parameters = ()

source§

fn print_2(self, _params: Self::Parameters)

source§

fn default_parameters() -> Self::Parameters

source§

fn print(self)

source§

impl<const N: usize> Serialprintable for String<N>

§

type Parameters = ()

source§

fn print_2(self, _params: Self::Parameters)

source§

fn default_parameters() -> Self::Parameters

source§

fn print(self)

source§

impl<const N: usize> Serialprintlnable for String<N>

§

type Parameters = ()

source§

fn println_2(self, _params: Self::Parameters)

source§

fn default_parameters() -> Self::Parameters

source§

fn println(self)

source§

impl<const N: usize> Write for String<N>

source§

fn write_str(&mut self, s: &str) -> Result<(), Error>

Writes a string slice into this writer, returning whether the write succeeded. Read more
source§

fn write_char(&mut self, c: char) -> Result<(), Error>

Writes a [char] into this writer, returning whether the write succeeded. Read more
1.0.0§

fn write_fmt(&mut self, args: Arguments<'_>) -> Result<(), Error>

Glue for usage of the [write!] macro with implementors of this trait. Read more
source§

impl<const N: usize> Eq for String<N>

Auto Trait Implementations§

§

impl<const N: usize> RefUnwindSafe for String<N>

§

impl<const N: usize> Send for String<N>

§

impl<const N: usize> Sync for String<N>

§

impl<const N: usize> Unpin for String<N>

§

impl<const N: usize> UnwindSafe for String<N>

Blanket Implementations§

§

impl<T> Any for Twhere T: 'static + ?Sized,

§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> Borrow<T> for Twhere T: ?Sized,

§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
§

impl<T> BorrowMut<T> for Twhere diff --git a/docs/doc/arduboy_rust/prelude/struct.String.html b/docs/doc/arduboy_rust/prelude/struct.String.html index 0fa663e..a85f9ee 100644 --- a/docs/doc/arduboy_rust/prelude/struct.String.html +++ b/docs/doc/arduboy_rust/prelude/struct.String.html @@ -1362,7 +1362,7 @@ sufficient, and should not be overridden without very good reason.

==.
source§

fn ne(&self, other: &str) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<const N1: usize, const N2: usize> PartialOrd<String<N2>> for String<N1>

source§

fn partial_cmp(&self, other: &String<N2>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= -operator. Read more
source§

impl<const N: usize> Printable for String<N>

§

type Parameters = ()

source§

fn print_2(self, _params: Self::Parameters)

source§

fn default_parameters() -> Self::Parameters

source§

fn print(self)

source§

impl<const N: usize> Serialprintable for String<N>

§

type Parameters = ()

source§

fn print_2(self, _params: Self::Parameters)

source§

fn default_parameters() -> Self::Parameters

source§

fn print(self)

source§

impl<const N: usize> Serialprintlnable for String<N>

§

type Parameters = ()

source§

fn println_2(self, _params: Self::Parameters)

source§

fn default_parameters() -> Self::Parameters

source§

fn println(self)

source§

impl<const N: usize> Write for String<N>

source§

fn write_str(&mut self, s: &str) -> Result<(), Error>

Writes a string slice into this writer, returning whether the write +operator. Read more
source§

impl<const N: usize> Printable for String<N>

§

type Parameters = ()

source§

fn print_2(self, _params: Self::Parameters)

source§

fn default_parameters() -> Self::Parameters

source§

fn print(self)

source§

impl<const N: usize> Serialprintable for String<N>

§

type Parameters = ()

source§

fn print_2(self, _params: Self::Parameters)

source§

fn default_parameters() -> Self::Parameters

source§

fn print(self)

source§

impl<const N: usize> Serialprintlnable for String<N>

§

type Parameters = ()

source§

fn println_2(self, _params: Self::Parameters)

source§

fn default_parameters() -> Self::Parameters

source§

fn println(self)

source§

impl<const N: usize> Write for String<N>

source§

fn write_str(&mut self, s: &str) -> Result<(), Error>

Writes a string slice into this writer, returning whether the write succeeded. Read more
source§

fn write_char(&mut self, c: char) -> Result<(), Error>

Writes a [char] into this writer, returning whether the write succeeded. Read more
1.0.0§

fn write_fmt(&mut self, args: Arguments<'_>) -> Result<(), Error>

Glue for usage of the [write!] macro with implementors of this trait. Read more
source§

impl<const N: usize> Eq for String<N>

Auto Trait Implementations§

§

impl<const N: usize> RefUnwindSafe for String<N>

§

impl<const N: usize> Send for String<N>

§

impl<const N: usize> Sync for String<N>

§

impl<const N: usize> Unpin for String<N>

§

impl<const N: usize> UnwindSafe for String<N>

Blanket Implementations§

§

impl<T> Any for Twhere T: 'static + ?Sized,

§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> Borrow<T> for Twhere T: ?Sized,

§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
§

impl<T> BorrowMut<T> for Twhere diff --git a/docs/doc/arduboy_rust/prelude/type.c_int.html b/docs/doc/arduboy_rust/prelude/type.c_int.html index c88b3a4..7b289a6 100644 --- a/docs/doc/arduboy_rust/prelude/type.c_int.html +++ b/docs/doc/arduboy_rust/prelude/type.c_int.html @@ -1,3 +1,3 @@ c_int in arduboy_rust::prelude - Rust

Type Alias arduboy_rust::prelude::c_int

1.64.0 ·
pub type c_int = i16;
Expand description

Equivalent to C’s signed int (int) type.

This type will almost always be [i32], but may differ on some esoteric systems. The C standard technically only requires that this type be a signed integer that is at least the size of a short; some systems define it as an [i16], for example.

-

Trait Implementations§

\ No newline at end of file +

Trait Implementations§

source§

impl Printable for i16

source§

impl Serialprintable for i16

source§

impl Serialprintlnable for i16

\ No newline at end of file diff --git a/docs/doc/arduboy_rust/prelude/type.c_long.html b/docs/doc/arduboy_rust/prelude/type.c_long.html index 7d7ca49..2e42346 100644 --- a/docs/doc/arduboy_rust/prelude/type.c_long.html +++ b/docs/doc/arduboy_rust/prelude/type.c_long.html @@ -1,3 +1,3 @@ c_long in arduboy_rust::prelude - Rust

Type Alias arduboy_rust::prelude::c_long

1.64.0 ·
pub type c_long = i32;
Expand description

Equivalent to C’s signed long (long) type.

This type will always be [i32] or [i64]. Most notably, many Linux-based systems assume an i64, but Windows assumes i32. The C standard technically only requires that this type be a signed integer that is at least 32 bits and at least the size of an int, although in practice, no system would have a long that is neither an i32 nor i64.

-

Trait Implementations§

\ No newline at end of file +

Trait Implementations§

source§

impl Printable for i32

source§

impl Serialprintable for i32

source§

impl Serialprintlnable for i32

\ No newline at end of file diff --git a/docs/doc/arduboy_rust/prelude/type.c_uint.html b/docs/doc/arduboy_rust/prelude/type.c_uint.html index 0281548..3623529 100644 --- a/docs/doc/arduboy_rust/prelude/type.c_uint.html +++ b/docs/doc/arduboy_rust/prelude/type.c_uint.html @@ -1,3 +1,3 @@ c_uint in arduboy_rust::prelude - Rust

Type Alias arduboy_rust::prelude::c_uint

1.64.0 ·
pub type c_uint = u16;
Expand description

Equivalent to C’s unsigned int type.

This type will almost always be [u32], but may differ on some esoteric systems. The C standard technically only requires that this type be an unsigned integer with the same size as an int; some systems define it as a [u16], for example.

-

Trait Implementations§

\ No newline at end of file +

Trait Implementations§

source§

impl Printable for u16

source§

impl Serialprintable for u16

source§

impl Serialprintlnable for u16

\ No newline at end of file diff --git a/docs/doc/arduboy_rust/prelude/type.c_ulong.html b/docs/doc/arduboy_rust/prelude/type.c_ulong.html index 3b7e45e..4b9fab5 100644 --- a/docs/doc/arduboy_rust/prelude/type.c_ulong.html +++ b/docs/doc/arduboy_rust/prelude/type.c_ulong.html @@ -1,3 +1,3 @@ c_ulong in arduboy_rust::prelude - Rust

Type Alias arduboy_rust::prelude::c_ulong

1.64.0 ·
pub type c_ulong = u32;
Expand description

Equivalent to C’s unsigned long type.

This type will always be [u32] or [u64]. Most notably, many Linux-based systems assume an u64, but Windows assumes u32. The C standard technically only requires that this type be an unsigned integer with the size of a long, although in practice, no system would have a ulong that is neither a u32 nor u64.

-

Trait Implementations§

\ No newline at end of file +

Trait Implementations§

source§

impl Printable for u32

source§

impl Serialprintable for u32

source§

impl Serialprintlnable for u32

\ No newline at end of file diff --git a/docs/doc/arduboy_rust/serial_print/fn.available.html b/docs/doc/arduboy_rust/serial_print/fn.available.html index 15b328e..3e00c5b 100644 --- a/docs/doc/arduboy_rust/serial_print/fn.available.html +++ b/docs/doc/arduboy_rust/serial_print/fn.available.html @@ -1,4 +1,4 @@ -available in arduboy_rust::serial_print - Rust
pub fn available() -> i16
Expand description

Get the number of bytes (characters) available for reading from the serial port. This is data that’s already arrived and stored in the serial receive buffer (which holds 64 bytes).

+available in arduboy_rust::serial_print - Rust
pub fn available() -> i16
Expand description

Get the number of bytes (characters) available for reading from the serial port. This is data that’s already arrived and stored in the serial receive buffer (which holds 64 bytes).

Example

if (Serial::available() > 0) {
     // read the incoming byte:
diff --git a/docs/doc/arduboy_rust/serial_print/fn.begin.html b/docs/doc/arduboy_rust/serial_print/fn.begin.html
index f828ee3..f792386 100644
--- a/docs/doc/arduboy_rust/serial_print/fn.begin.html
+++ b/docs/doc/arduboy_rust/serial_print/fn.begin.html
@@ -1,4 +1,4 @@
-begin in arduboy_rust::serial_print - Rust
pub fn begin(baud_rates: u32)
Expand description

Sets the data rate in bits per second (baud) for serial data transmission. For communicating with Serial Monitor, make sure to use one of the baud rates listed in the menu at the bottom right corner of its screen. You can, however, specify other rates - for example, to communicate over pins 0 and 1 with a component that requires a particular baud rate.

+begin in arduboy_rust::serial_print - Rust
pub fn begin(baud_rates: u32)
Expand description

Sets the data rate in bits per second (baud) for serial data transmission. For communicating with Serial Monitor, make sure to use one of the baud rates listed in the menu at the bottom right corner of its screen. You can, however, specify other rates - for example, to communicate over pins 0 and 1 with a component that requires a particular baud rate.

Example

serial::begin(9600)
\ No newline at end of file diff --git a/docs/doc/arduboy_rust/serial_print/fn.end.html b/docs/doc/arduboy_rust/serial_print/fn.end.html index 46253df..edd68ef 100644 --- a/docs/doc/arduboy_rust/serial_print/fn.end.html +++ b/docs/doc/arduboy_rust/serial_print/fn.end.html @@ -1,2 +1,2 @@ -end in arduboy_rust::serial_print - Rust

Function arduboy_rust::serial_print::end

source ·
pub fn end()
Expand description

Disables serial communication, allowing the RX and TX pins to be used for general input and output. To re-enable serial communication, call begin().

+end in arduboy_rust::serial_print - Rust

Function arduboy_rust::serial_print::end

source ·
pub fn end()
Expand description

Disables serial communication, allowing the RX and TX pins to be used for general input and output. To re-enable serial communication, call begin().

\ No newline at end of file diff --git a/docs/doc/arduboy_rust/serial_print/fn.print.html b/docs/doc/arduboy_rust/serial_print/fn.print.html index a5eda23..14979bc 100644 --- a/docs/doc/arduboy_rust/serial_print/fn.print.html +++ b/docs/doc/arduboy_rust/serial_print/fn.print.html @@ -1,4 +1,4 @@ -print in arduboy_rust::serial_print - Rust
pub fn print(x: impl Serialprintable)
Expand description

The Arduino Serial Print class is available for writing text to the screen buffer.

+print in arduboy_rust::serial_print - Rust
pub fn print(x: impl Serialprintable)
Expand description

The Arduino Serial Print class is available for writing text to the screen buffer.

In the same manner as the Arduino arduboy.print(), etc., functions.

Example

diff --git a/docs/doc/arduboy_rust/serial_print/fn.println.html b/docs/doc/arduboy_rust/serial_print/fn.println.html index 8517497..5896a9a 100644 --- a/docs/doc/arduboy_rust/serial_print/fn.println.html +++ b/docs/doc/arduboy_rust/serial_print/fn.println.html @@ -1,4 +1,4 @@ -println in arduboy_rust::serial_print - Rust
pub fn println(x: impl Serialprintlnable)
Expand description

The Arduino Serial Print class is available for writing text to the screen buffer.

+println in arduboy_rust::serial_print - Rust
pub fn println(x: impl Serialprintlnable)
Expand description

The Arduino Serial Print class is available for writing text to the screen buffer.

In the same manner as the Arduino arduboy.print(), etc., functions.

Example

diff --git a/docs/doc/arduboy_rust/serial_print/fn.read.html b/docs/doc/arduboy_rust/serial_print/fn.read.html index 58fb15b..04696cd 100644 --- a/docs/doc/arduboy_rust/serial_print/fn.read.html +++ b/docs/doc/arduboy_rust/serial_print/fn.read.html @@ -1,13 +1,13 @@ -read in arduboy_rust::serial_print - Rust
pub fn read() -> i16
Expand description

Reads incoming serial data. +read in arduboy_rust::serial_print - Rust

pub fn read() -> i16
Expand description

Reads incoming serial data. Use only inside of available():

-
if (Serial::available() > 0) {
+
if (serial::available() > 0) {
     // read the incoming byte:
-    let incomingByte: i16 = Serial::read();
+    let incoming_byte: i16 = Serial::read();
 
     // say what you got:
-    Serial::print("I received: ");
-    Serial::println(incomingByte);
+    serial::print("I received: ");
+    serial::println(incoming_byte);
 }

Returns

The first byte of incoming serial data available (or -1 if no data is available). Data type: int.

diff --git a/docs/doc/arduboy_rust/serial_print/fn.read_as_utf8_str.html b/docs/doc/arduboy_rust/serial_print/fn.read_as_utf8_str.html index 91eaa3a..b688aaa 100644 --- a/docs/doc/arduboy_rust/serial_print/fn.read_as_utf8_str.html +++ b/docs/doc/arduboy_rust/serial_print/fn.read_as_utf8_str.html @@ -1,4 +1,4 @@ -read_as_utf8_str in arduboy_rust::serial_print - Rust
pub fn read_as_utf8_str() -> &'static str
Expand description

Reads incoming serial data.

+read_as_utf8_str in arduboy_rust::serial_print - Rust
pub fn read_as_utf8_str() -> &'static str
Expand description

Reads incoming serial data.

Use only inside of available():

if (Serial::available() > 0) {
diff --git a/docs/doc/arduboy_rust/serial_print/trait.Serialprintable.html b/docs/doc/arduboy_rust/serial_print/trait.Serialprintable.html
index 316845d..0a2949e 100644
--- a/docs/doc/arduboy_rust/serial_print/trait.Serialprintable.html
+++ b/docs/doc/arduboy_rust/serial_print/trait.Serialprintable.html
@@ -1,4 +1,4 @@
-Serialprintable in arduboy_rust::serial_print - Rust
pub trait Serialprintablewhere
+Serialprintable in arduboy_rust::serial_print - Rust
pub trait Serialprintablewhere
     Self: Sized,{
     type Parameters;
 
@@ -8,4 +8,4 @@
 
     // Provided method
     fn print(self) { ... }
-}

Required Associated Types§

Required Methods§

source

fn print_2(self, params: Self::Parameters)

source

fn default_parameters() -> Self::Parameters

Provided Methods§

source

fn print(self)

Implementations on Foreign Types§

source§

impl Serialprintable for &[u8]

§

type Parameters = ()

source§

fn print_2(self, _params: Self::Parameters)

source§

fn default_parameters() -> Self::Parameters

source§

impl Serialprintable for i32

source§

impl Serialprintable for &str

§

type Parameters = ()

source§

fn print_2(self, _params: Self::Parameters)

source§

fn default_parameters() -> Self::Parameters

source§

impl Serialprintable for i16

source§

impl Serialprintable for u16

source§

impl Serialprintable for u32

Implementors§

source§

impl<const N: usize> Serialprintable for String<N>

§

type Parameters = ()

\ No newline at end of file +}

Required Associated Types§

Required Methods§

source

fn print_2(self, params: Self::Parameters)

source

fn default_parameters() -> Self::Parameters

Provided Methods§

source

fn print(self)

Implementations on Foreign Types§

source§

impl Serialprintable for &[u8]

§

type Parameters = ()

source§

fn print_2(self, _params: Self::Parameters)

source§

fn default_parameters() -> Self::Parameters

source§

impl Serialprintable for i32

source§

impl Serialprintable for &str

§

type Parameters = ()

source§

fn print_2(self, _params: Self::Parameters)

source§

fn default_parameters() -> Self::Parameters

source§

impl Serialprintable for i16

source§

impl Serialprintable for u16

source§

impl Serialprintable for u32

Implementors§

source§

impl<const N: usize> Serialprintable for String<N>

§

type Parameters = ()

\ No newline at end of file diff --git a/docs/doc/arduboy_rust/serial_print/trait.Serialprintlnable.html b/docs/doc/arduboy_rust/serial_print/trait.Serialprintlnable.html index c01687a..3a93ef7 100644 --- a/docs/doc/arduboy_rust/serial_print/trait.Serialprintlnable.html +++ b/docs/doc/arduboy_rust/serial_print/trait.Serialprintlnable.html @@ -1,4 +1,4 @@ -Serialprintlnable in arduboy_rust::serial_print - Rust
pub trait Serialprintlnablewhere
+Serialprintlnable in arduboy_rust::serial_print - Rust
pub trait Serialprintlnablewhere
     Self: Sized,{
     type Parameters;
 
@@ -8,4 +8,4 @@
 
     // Provided method
     fn println(self) { ... }
-}

Required Associated Types§

Required Methods§

source

fn println_2(self, params: Self::Parameters)

source

fn default_parameters() -> Self::Parameters

Provided Methods§

source

fn println(self)

Implementations on Foreign Types§

source§

impl Serialprintlnable for &[u8]

§

type Parameters = ()

source§

fn println_2(self, _params: Self::Parameters)

source§

fn default_parameters() -> Self::Parameters

source§

impl Serialprintlnable for u16

source§

impl Serialprintlnable for u32

source§

impl Serialprintlnable for i32

source§

impl Serialprintlnable for i16

source§

impl Serialprintlnable for &str

§

type Parameters = ()

source§

fn println_2(self, _params: Self::Parameters)

source§

fn default_parameters() -> Self::Parameters

Implementors§

source§

impl<const N: usize> Serialprintlnable for String<N>

§

type Parameters = ()

\ No newline at end of file +}

Required Associated Types§

Required Methods§

source

fn println_2(self, params: Self::Parameters)

source

fn default_parameters() -> Self::Parameters

Provided Methods§

source

fn println(self)

Implementations on Foreign Types§

source§

impl Serialprintlnable for &[u8]

§

type Parameters = ()

source§

fn println_2(self, _params: Self::Parameters)

source§

fn default_parameters() -> Self::Parameters

source§

impl Serialprintlnable for u16

source§

impl Serialprintlnable for u32

source§

impl Serialprintlnable for i32

source§

impl Serialprintlnable for i16

source§

impl Serialprintlnable for &str

§

type Parameters = ()

source§

fn println_2(self, _params: Self::Parameters)

source§

fn default_parameters() -> Self::Parameters

Implementors§

source§

impl<const N: usize> Serialprintlnable for String<N>

§

type Parameters = ()

\ No newline at end of file diff --git a/docs/doc/src/arduboy_rust/serial_print.rs.html b/docs/doc/src/arduboy_rust/serial_print.rs.html index 307a3df..cb97000 100644 --- a/docs/doc/src/arduboy_rust/serial_print.rs.html +++ b/docs/doc/src/arduboy_rust/serial_print.rs.html @@ -414,7 +414,7 @@ //! //! You will need to uncomment the Arduino_Serial_Library in the import_config.h file. use crate::prelude::Pstring; -use core::ffi::{c_char, c_int, c_long, c_size_t, c_uchar, c_uint, c_ulong, CStr}; +use core::ffi::{c_char, c_int, c_long, c_size_t, c_uchar, c_uint, c_ulong}; use crate::print::Base; extern "C" { @@ -426,8 +426,6 @@ fn serial_available() -> c_int; #[link_name = "arduino_serial_read"] fn serial_read() -> c_int; - #[link_name = "arduino_serial_read_string"] - fn serial_read_string() -> CStr; } ///The Arduino Serial Print class is available for writing text to the screen buffer. @@ -484,13 +482,13 @@ /// Reads incoming serial data. /// Use only inside of [available()]: /// ``` -/// if (Serial::available() > 0) { +/// if (serial::available() > 0) { /// // read the incoming byte: -/// let incomingByte: i16 = Serial::read(); +/// let incoming_byte: i16 = Serial::read(); /// /// // say what you got: -/// Serial::print("I received: "); -/// Serial::println(incomingByte); +/// serial::print("I received: "); +/// serial::println(incoming_byte); /// } /// ``` /// ### Returns @@ -670,7 +668,8 @@ #[doc(hidden)] #[link_name = "arduino_serial_println_long"] fn println_long(n: c_long, base: c_int) -> c_size_t; - #[doc(hidden)] + #[allow(dead_code)] + #[doc(hidden)] #[link_name = "arduino_serial_println_unsigned_char"] fn println_unsigned_char(n: c_uchar, base: c_int) -> c_size_t; #[doc(hidden)] @@ -812,7 +811,8 @@ #[doc(hidden)] #[link_name = "arduino_serial_print_long"] fn print_long(n: c_long, base: c_int) -> c_size_t; - #[doc(hidden)] + #[allow(dead_code)] + #[doc(hidden)] #[link_name = "arduino_serial_print_unsigned_char"] fn print_unsigned_char(n: c_uchar, base: c_int) -> c_size_t; #[doc(hidden)]