Skip to content

MouchenHung-QUANTA/PROJ_Q_YV3p5_Shell_Platform_Command

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 

Repository files navigation

PROJ_Q_YV3p5_Shell_Platform_Command

Platform command with zephyr

USAGE

  • GPIO relative

    • Get all gpios' info if enable
      platform gpio list_all
      alt text

    • Get all gpios' info in one group
      platform gpio list_group <gpio_group_name>
      alt text

    • Get one gpio info
      platform gpio get <gpio_num>

    • Set one gpio's value
      platform gpio set val <gpio_num> <0/1>
      alt text

    • Set one gpio's direction(not support!)
      platform gpio set dir <gpio_num> <0/1>

  • SENSOR relative

    • Get all sensors' info
      platform sensor list_all

    • Get one sensor info
      platform sensor get <sensor_num>

  • I2C relative
    Not support!

NOTE

About

Platform command with zephyr

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 100.0%