raspberry-web 0.1.0

Control the GPIO pins on your Raspberry Pi with a simple web service. Currently supports output only.
Documentation
table! {
    allowed_states (state_id) {
        state_id -> Integer,
        state_type -> Text,
        input -> Integer,
        output -> Integer,
        high -> Integer,
        low -> Integer,
    }
}

table! {
    gpio_state (gpio_id) {
        gpio_id -> Integer,
        in_use -> Integer,
        gpio_mode -> Nullable<Text>,
        gpio_level -> Nullable<Text>,
        last_change -> Nullable<Text>,
    }
}

allow_tables_to_appear_in_same_query!(allowed_states, gpio_state,);