adc/microphone_adc - Read analog values from a microphone and plot the measured sound amplitude. i2c/bmp280_i2c - Read and convert temperature and pressure data from a BMP280 sensor, attached to an I2C bus. i2c/lis3dh_i2c - Read acceleration and temperature value from a LIS3DH sensor via I2C i2c/mcp9808_i2c - Read temperature, set limits and raise alerts when limits are surpassed. i2c/mma8451_i2c - Read acceleration from a MMA8451 accelerometer and set range and precision for the data. i2c/mpl3115a2_i2c - Interface with an MPL3115A2 altimeter, exploring interrupts and advanced board features, via I2C. i2c/oled_i2c - Convert and display a bitmap on a 128x32 SSD1306-driven OLED display i2c/pa1010d_i2c - Read GPS location data, parse and display data via I2C. i2c/pcf8523_i2c - Read time and date values from a real time clock. Set current time and alarms on it. uart/lcd_uart - Display text and symbols on a 16x02 RGB LCD display via UART
18 lines
443 B
CMake
18 lines
443 B
CMake
add_executable(lcd_uart
|
|
lcd_uart.c
|
|
)
|
|
|
|
# pull in common dependencies and additional uart hardware support
|
|
target_link_libraries(lcd_uart pico_stdlib hardware_uart)
|
|
|
|
# enable usb output and uart output
|
|
# modify here as required
|
|
pico_enable_stdio_usb(lcd_uart 1)
|
|
pico_enable_stdio_uart(lcd_uart 1)
|
|
|
|
# create map/bin/hex file etc.
|
|
pico_add_extra_outputs(lcd_uart)
|
|
|
|
# add url via pico_set_program_url
|
|
example_auto_set_url(lcd_uart)
|