Skip to content

Commit

Permalink
Merge branch 'main' of github.com:Pioreactor/pico-build
Browse files Browse the repository at this point in the history
* 'main' of github.com:Pioreactor/pico-build:
  Update README.md
  • Loading branch information
CamDavidsonPilon committed Dec 30, 2022
2 parents 71f98a2 + a312373 commit 625c1d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
This repo is the source code, and provides instructions, for building the .elf file that is loaded to the RP2040 chip (its RAM) on the Pioreactor HAT.


### Building
### Building on a Raspberry Pi

- on a Raspberry Pi, follow the setup instructions in Chapter 1. Quick Pico Setup of [the datasheet](https://datasheets.raspberrypi.com/pico/getting-started-with-pico.pdf).
- `mkdir ~/pico/pico-examples/pioreactor && cd ~/pico/pico-examples/pioreactor`
Expand Down Expand Up @@ -37,4 +37,4 @@ To read the 16-bit ADC value of the ADC channel corresponding to address 4, you
Note that the -y flag is used to automatically answer yes to any prompt from i2cset or i2cget.
The 1 after the -y flag specifies the i2c bus number to use, and the 0x30 specifies the i2c address of the peripheral.
The 0 and w in the i2cset and i2cget commands, respectively, specify the starting register address to be accessed.
The 4 in the i2cget command specifies the address of the ADC channel to read.
The 4 in the i2cget command specifies the address of the ADC channel to read.

0 comments on commit 625c1d8

Please sign in to comment.