examples: updated filenames and snippets to start with chipid

Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
This commit is contained in:
Mihai Tudor Panu 2015-03-13 15:17:24 -07:00
parent 577894851b
commit dc932b61e7
16 changed files with 24 additions and 24 deletions

View File

@ -8,17 +8,17 @@ add_executable (grovetemp-example grovetemp.cxx)
add_executable (grovebutton-example grovebutton.cxx) add_executable (grovebutton-example grovebutton.cxx)
add_executable (groverotary-example groverotary.cxx) add_executable (groverotary-example groverotary.cxx)
add_executable (groveslide-example groveslide.cxx) add_executable (groveslide-example groveslide.cxx)
add_executable (lcm-lcd-example lcm-lcd.cxx) add_executable (lcm1602-lcd-example lcm1602-lcd.cxx)
add_executable (rgb-lcd-example rgb-lcd.cxx) add_executable (jhd1313m1-lcd-example jhd1313m1-lcd.cxx)
add_executable (buzzer-sound-example buzzer-sound.cxx) add_executable (buzzer-sound-example buzzer-sound.cxx)
add_executable (led-bar-example led-bar.cxx) add_executable (my9221-ledbar-example my9221-ledbar.cxx)
add_executable (seg-lcd-example 4digitdisplay.cxx) add_executable (tm1637-example tm1637.cxx)
add_executable (nrf_transmitter-example nrf_transmitter.cxx) add_executable (nrf24l01-transmitter-example nrf24l01-transmitter.cxx)
add_executable (nrf_receiver-example nrf_receiver.cxx) add_executable (nrf24l01-receiver-example nrf24l01-receiver.cxx)
add_executable (es08a-example es08a.cxx) add_executable (es08a-example es08a.cxx)
add_executable (son-hcsr04-example hcsr04.cxx) add_executable (son-hcsr04-example hcsr04.cxx)
add_executable (oled-1308-example oled-1308.cxx) add_executable (ssd1308-oled-example ssd1308-oled.cxx)
add_executable (oled-1327-example oled-1327.cxx) add_executable (ssd1327-oled-example ssd1327-oled.cxx)
add_executable (max44000-example max44000.cxx) add_executable (max44000-example max44000.cxx)
add_executable (mma7455-example mma7455.cxx) add_executable (mma7455-example mma7455.cxx)
add_executable (st7735-example st7735.cxx) add_executable (st7735-example st7735.cxx)
@ -168,17 +168,17 @@ target_link_libraries (grovetemp-example grove ${CMAKE_THREAD_LIBS_INIT})
target_link_libraries (grovebutton-example grove ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (grovebutton-example grove ${CMAKE_THREAD_LIBS_INIT})
target_link_libraries (groverotary-example grove ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (groverotary-example grove ${CMAKE_THREAD_LIBS_INIT})
target_link_libraries (groveslide-example grove ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (groveslide-example grove ${CMAKE_THREAD_LIBS_INIT})
target_link_libraries (lcm-lcd-example i2clcd ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (lcm1602-lcd-example i2clcd ${CMAKE_THREAD_LIBS_INIT})
target_link_libraries (rgb-lcd-example i2clcd ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (jhd1313m1-lcd-example i2clcd ${CMAKE_THREAD_LIBS_INIT})
target_link_libraries (buzzer-sound-example buzzer ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (buzzer-sound-example buzzer ${CMAKE_THREAD_LIBS_INIT})
target_link_libraries (led-bar-example my9221 ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (my9221-ledbar-example my9221 ${CMAKE_THREAD_LIBS_INIT})
target_link_libraries (seg-lcd-example tm1637 ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (tm1637-example tm1637 ${CMAKE_THREAD_LIBS_INIT})
target_link_libraries (nrf_transmitter-example nrf24l01 ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (nrf24l01-transmitter-example nrf24l01 ${CMAKE_THREAD_LIBS_INIT})
target_link_libraries (nrf_receiver-example nrf24l01 ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (nrf24l01-receiver-example nrf24l01 ${CMAKE_THREAD_LIBS_INIT})
target_link_libraries (es08a-example servo ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (es08a-example servo ${CMAKE_THREAD_LIBS_INIT})
target_link_libraries (son-hcsr04-example hcsr04 ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (son-hcsr04-example hcsr04 ${CMAKE_THREAD_LIBS_INIT})
target_link_libraries (oled-1308-example i2clcd ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (ssd1308-oled-example i2clcd ${CMAKE_THREAD_LIBS_INIT})
target_link_libraries (oled-1327-example i2clcd ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (ssd1327-oled-example i2clcd ${CMAKE_THREAD_LIBS_INIT})
target_link_libraries (max44000-example max44000 ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (max44000-example max44000 ${CMAKE_THREAD_LIBS_INIT})
target_link_libraries (mma7455-example mma7455 ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (mma7455-example mma7455 ${CMAKE_THREAD_LIBS_INIT})
target_link_libraries (st7735-example st7735 ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries (st7735-example st7735 ${CMAKE_THREAD_LIBS_INIT})

View File

@ -40,7 +40,7 @@ namespace upm {
* which requires 5V to operate. * which requires 5V to operate.
* *
* @ingroup i2clcd i2c * @ingroup i2clcd i2c
* @snippet rgb-lcd.cxx Interesting * @snippet jhd1313m1-lcd.cxx Interesting
* @image html grovergblcd.jpeg * @image html grovergblcd.jpeg
*/ */
class Jhd1313m1 : public I2CLcd { class Jhd1313m1 : public I2CLcd {

View File

@ -43,7 +43,7 @@ namespace upm {
* the best documented example. * the best documented example.
* *
* @ingroup i2clcd i2c * @ingroup i2clcd i2c
* @snippet lcm-lcd.cxx Interesting * @snippet lcm1602-lcd.cxx Interesting
* @image html lcm1602.jpeg * @image html lcm1602.jpeg
*/ */
class Lcm1602 : public I2CLcd { class Lcm1602 : public I2CLcd {

View File

@ -43,7 +43,7 @@ namespace upm {
* which is an OLED monochrome display * which is an OLED monochrome display
* *
* @ingroup i2clcd i2c * @ingroup i2clcd i2c
* @snippet oled-1308.cxx Interesting * @snippet ssd1308-oled.cxx Interesting
* @image html ssd1308.jpeg * @image html ssd1308.jpeg
*/ */
class SSD1308 : public I2CLcd { class SSD1308 : public I2CLcd {

View File

@ -43,7 +43,7 @@ namespace upm {
* which is an OLED monochrome display * which is an OLED monochrome display
* *
* @ingroup i2clcd i2c * @ingroup i2clcd i2c
* @snippet oled-1327.cxx Interesting * @snippet ssd1327-oled.cxx Interesting
* @image html ssd1327.jpeg * @image html ssd1327.jpeg
*/ */
class SSD1327 : public I2CLcd { class SSD1327 : public I2CLcd {

View File

@ -48,7 +48,7 @@ namespace upm {
* This file defines the MY9221 C++ interface for libmy9221 * This file defines the MY9221 C++ interface for libmy9221
* *
* @ingroup my9221 gpio * @ingroup my9221 gpio
* @snippet led-bar.cxx Interesting * @snippet my9221-ledbar.cxx Interesting
*/ */
class MY9221 { class MY9221 {
public: public:

View File

@ -161,8 +161,8 @@ typedef enum {
* This file defines the NRF24l01 C++ interface for libnrf24l01 * This file defines the NRF24l01 C++ interface for libnrf24l01
* *
* @ingroup nrf24l01 * @ingroup nrf24l01
* @snippet nrf_receiver.cxx Interesting * @snippet nrf24l01-receiver.cxx Interesting
* @snippet nrf_transmitter.cxx Interesting * @snippet nrf24l01-transmitter.cxx Interesting
*/ */
class NRF24L01 { class NRF24L01 {
public: public:

View File

@ -57,7 +57,7 @@ namespace upm {
* This file defines the TM1637 C++ interface for lib4digitdisplay * This file defines the TM1637 C++ interface for lib4digitdisplay
* *
* @ingroup tm1637 gpio * @ingroup tm1637 gpio
* @snippet 4digitdisplay.cxx Interesting * @snippet tm1637.cxx Interesting
* *
* A * A
* --- * ---