Move status and add assumption about bodge for adapter
This commit is contained in:
parent
174885dbed
commit
d7ea295346
4 changed files with 2 additions and 3 deletions
|
@ -5,6 +5,7 @@
|
|||
*/
|
||||
|
||||
&nice_view_spi {
|
||||
status = "okay";
|
||||
nice_view: ls0xx@0 {
|
||||
compatible = "sharp,ls0xx";
|
||||
label = "DISPLAY";
|
||||
|
|
|
@ -4,7 +4,7 @@ This shield is used as an adapter between the nice!view and existing shields/boa
|
|||
|
||||
To use this shield, you should add this shield to your list of shields *before* `nice_view`.
|
||||
|
||||
The nice!view will use the SDA/SCL pins of the OLED, and then the adapter expects a final pin to be "bodged" from your microcontroller to the nice!view CS pin.
|
||||
The nice!view will use the SDA/SCL pins of the OLED, and then the adapter expects a final pin to be "bodged" from your microcontroller to the nice!view CS pin. This adapter assumes that the CS pin bodged is the `&pro_micro 1 pin` or "D1", which is the top left pin when looking at the front of the board. If you can't use this pin, you'll need to write your own definition for the `&nice_view_spi` bus.
|
||||
|
||||
```
|
||||
west build -b nice_nano_v2 -- -DSHIELD="lily58_left nice_view_adapter nice_view"
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
|
||||
nice_view_spi: &spi0 {
|
||||
compatible = "nordic,nrf-spim";
|
||||
status = "okay";
|
||||
sck-pin = <20>;
|
||||
mosi-pin = <17>;
|
||||
miso-pin = <25>;
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
|
||||
nice_view_spi: &spi0 {
|
||||
compatible = "nordic,nrf-spim";
|
||||
status = "okay";
|
||||
sck-pin = <20>;
|
||||
mosi-pin = <17>;
|
||||
miso-pin = <25>;
|
||||
|
|
Loading…
Add table
Reference in a new issue