diff options
| author | Nick Moore <nick@zoic.org> | 2019-05-02 19:14:22 +1000 |
|---|---|---|
| committer | Nick Moore <nick@zoic.org> | 2019-05-02 19:14:22 +1000 |
| commit | d97c81b0c999c77b64319e6eca4bcb346c2f9f29 (patch) | |
| tree | cd93cd1319919a0536af7350fd5143e6fee12e28 /shared-bindings | |
| parent | baa9c02c8b1737bf31319b58d623ca970829af24 (diff) | |
Update docs to include new 'dhcp' constructor parameter
Diffstat (limited to 'shared-bindings')
| -rw-r--r-- | shared-bindings/wiznet/wiznet5k.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/shared-bindings/wiznet/wiznet5k.c b/shared-bindings/wiznet/wiznet5k.c index b8b7ea8a0..826783771 100644 --- a/shared-bindings/wiznet/wiznet5k.c +++ b/shared-bindings/wiznet/wiznet5k.c @@ -51,13 +51,14 @@ //| :class:`WIZNET5K` -- wrapper for Wiznet 5500 Ethernet interface //| =============================================================== //| -//| .. class:: WIZNET5K(spi, cs, rst) +//| .. class:: WIZNET5K(spi, cs, rst, dhcp=True) //| //| Create a new WIZNET5500 interface using the specified pins //| -//| :param spi: spi bus to use -//| :param cs: pin to use for Chip Select -//| :param rst: pin to use for Reset +//| :param ~busio.SPI spi: spi bus to use +//| :param ~microcontroller.Pin cs: pin to use for Chip Select +//| :param ~microcontroller.Pin rst: pin to use for Reset +//| :param bool dhcp: boolean flag, whether to start DHCP automatically (default True) //| STATIC mp_obj_t wiznet5k_make_new(const mp_obj_type_t *type, size_t n_args, const mp_obj_t *pos_args, mp_map_t *kw_args) { |
