Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
magicwM

magicw

@magicw
About
Posts
4
Topics
2
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • if `MY_NODE_ID` is not AUTO
    magicwM magicw

    @magicw ok,thanks!

    Development

  • if `MY_NODE_ID` is not AUTO
    magicwM magicw

    @hek For example,If i define MY_NODE_ID is 2,When the node reset,,the logic of this code will write the eeprom again(hwWriteConfig(EEPROM_NODE_ID_ADDRESS, MY_NODE_ID);). Isn't it?

    Development

  • if `MY_NODE_ID` is not AUTO
    magicwM magicw
    if (MY_NODE_ID != AUTO) {
    	// Set static id
           _nc.nodeId = MY_NODE_ID;
    	// Save static id in eeprom
    	hwWriteConfig(EEPROM_NODE_ID_ADDRESS, MY_NODE_ID);
    }
    

    In the stInitTransition function,if MY_NODE_ID is not AUTO,the code will write eeprom one time.if the node reset because some mistakes,It's to bad for the eeprom.Isn't it?

    Development

  • low power designe
    magicwM magicw

    I have tested the lightsensor(2.0) 's Electric current(int 5v)about 6.5ma,if use 1500mAh 18650 Li battery,it can work about 10 days。How to increase the working hours? thanks!

    Feature Requests
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular