Skip to content
engkan2kit edited this page Mar 9, 2014 · 4 revisions

Welcome to the WiTMon wiki!

On windows, go the your prefered root folder for this project. If you have installed git already:

  1. right click that folder -> git bash
  2. git clone https://github.com/engkan2kit/WiTMon.git
  3. cd WiTMon

You can now start editing on the slave and master folders in Sketches/mices.

Libraries are localized. However, the base codes of the libraries are stored in the libraries/WiTMon folder.

Changes from the old library:

  1. Pins declarations are stored in pins.h. You can modify this one if you want. #define MEGA is uncommented if the code is compiled for mega-based arduinos.

To sync your edited codes:

  1. git status -> to check which files have you altered
  2. git add -> to add that file in the staging. (you can also use "git add ." to add everything)
  3. git commit -a -m "Your commit message here"
  4. git pull -> download and merge changes first
  5. git push -> pushes your commits to the master.

If ever we edit at the same time and we got conflicts, you have to manually merge the changes and select the useful parts of the code to solve the conflict.

Clone this wiki locally