Small changes to the binary_info pin names

This commit is contained in:
Andrew Scheller
2021-03-04 17:58:13 +00:00
committed by Graham Sanderson
parent 13a84b8f63
commit ecd79e9456
5 changed files with 6 additions and 8 deletions

View File

@@ -206,7 +206,7 @@ int main() {
gpio_set_dir(PICO_DEFAULT_SPI_CSN_PIN, GPIO_OUT);
gpio_put(PICO_DEFAULT_SPI_CSN_PIN, 1);
// Make the CS pin available to picotool
bi_decl(bi_1pin_with_name(PICO_DEFAULT_SPI_CSN_PIN, "CS"));
bi_decl(bi_1pin_with_name(PICO_DEFAULT_SPI_CSN_PIN, "SPI CS"));
// See if SPI is working - interrograte the device for its I2C ID number, should be 0x60
uint8_t id;