Skip to content

Commit

Permalink
Update docs.
Browse files Browse the repository at this point in the history
Signed-off-by: shennongmin <[email protected]>
  • Loading branch information
shennongmin committed Aug 14, 2015
1 parent 4ca5031 commit 7e1fbe1
Show file tree
Hide file tree
Showing 162 changed files with 1,909 additions and 1,153 deletions.
7 changes: 7 additions & 0 deletions NexButton.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@

#include "NexTouch.h"
#include "NexHardware.h"
/**
* @addtogroup Component
* @{
*/

/**
* NexButton component.
Expand Down Expand Up @@ -54,6 +58,9 @@ class NexButton: public NexTouch
*/
bool setText(const char *buffer);
};
/**
* @}
*/


#endif /* #ifndef __NEXBUTTON_H__ */
9 changes: 9 additions & 0 deletions NexConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@
#ifndef __NEXCONFIG_H__
#define __NEXCONFIG_H__

/**
* @addtogroup Configuration
* @{
*/

/**
* Define DEBUG_SERIAL_ENABLE to enable debug serial.
* Comment it to disable debug serial.
Expand Down Expand Up @@ -42,4 +47,8 @@
#define dbSerialBegin(a) do{}while(0)
#endif

/**
* @}
*/

#endif /* #ifndef __NEXCONFIG_H__ */
7 changes: 7 additions & 0 deletions NexCrop.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@

#include "NexTouch.h"
#include "NexHardware.h"
/**
* @addtogroup Component
* @{
*/

/**
* NexCrop component.
Expand Down Expand Up @@ -53,5 +57,8 @@ class NexCrop: public NexTouch
bool setPic(uint32_t number);
};

/**
* @}
*/

#endif /* #ifndef __NEXCROP_H__ */
7 changes: 7 additions & 0 deletions NexGauge.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@

#include "NexTouch.h"
#include "NexHardware.h"
/**
* @addtogroup Component
* @{
*/

/**
* NexGauge component.
Expand Down Expand Up @@ -52,5 +56,8 @@ class NexGauge: public NexObject
bool setValue(uint32_t number);
};

/**
* @}
*/

#endif /* #ifndef __NEXGAUGE_H__ */
2 changes: 1 addition & 1 deletion NexHardware.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#include "NexTouch.h"

/**
* @addtogroup Nextion
* @addtogroup CoreAPI
* @{
*/

Expand Down
7 changes: 7 additions & 0 deletions NexHotspot.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@

#include "NexTouch.h"
#include "NexHardware.h"
/**
* @addtogroup Component
* @{
*/

/**
* NexHotspot component.
Expand All @@ -31,6 +35,9 @@ class NexHotspot: public NexTouch
*/
NexHotspot(uint8_t pid, uint8_t cid, const char *name);
};
/**
* @}
*/


#endif /* #ifndef __NEXHOTSPOT_H__ */
7 changes: 7 additions & 0 deletions NexObject.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@
#define __NEXOBJECT_H__
#include <Arduino.h>
#include "NexConfig.h"
/**
* @addtogroup CoreAPI
* @{
*/

/**
* Root class of all Nextion components.
Expand Down Expand Up @@ -73,5 +77,8 @@ class NexObject
uint8_t __cid; /* Component ID */
const char *__name; /* An unique name */
};
/**
* @}
*/

#endif /* #ifndef __NEXOBJECT_H__ */
7 changes: 7 additions & 0 deletions NexPage.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@

#include "NexTouch.h"
#include "NexHardware.h"
/**
* @addtogroup Component
* @{
*/

/**
* A special component , which can contain other components such as NexButton,
Expand All @@ -39,5 +43,8 @@ class NexPage: public NexTouch
*/
bool show(void);
};
/**
* @}
*/

#endif /* #ifndef __NEXPAGE_H__ */
7 changes: 7 additions & 0 deletions NexPicture.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@

#include "NexTouch.h"
#include "NexHardware.h"
/**
* @addtogroup Component
* @{
*/

/**
* NexPicture component.
Expand Down Expand Up @@ -52,5 +56,8 @@ class NexPicture: public NexTouch
bool setPic(uint32_t number);
};

/**
* @}
*/

#endif /* #ifndef __NEXPICTURE_H__ */
7 changes: 7 additions & 0 deletions NexProgressBar.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@

#include "NexTouch.h"
#include "NexHardware.h"
/**
* @addtogroup Component
* @{
*/

/**
* NexProgressBar component.
Expand Down Expand Up @@ -52,5 +56,8 @@ class NexProgressBar: public NexObject
bool setValue(uint32_t number);
};

/**
* @}
*/

#endif /* #ifndef __NEXPROGRESSBAR_H__ */
7 changes: 7 additions & 0 deletions NexSlider.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@

#include "NexTouch.h"
#include "NexHardware.h"
/**
* @addtogroup Component
* @{
*/

/**
* NexSlider component.
Expand Down Expand Up @@ -51,6 +55,9 @@ class NexSlider: public NexTouch
*/
bool setValue(uint32_t number);
};
/**
* @}
*/


#endif /* #ifndef __NEXSLIDER_H__ */
7 changes: 7 additions & 0 deletions NexText.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@

#include "NexTouch.h"
#include "NexHardware.h"
/**
* @addtogroup Component
* @{
*/

/**
* NexText component.
Expand Down Expand Up @@ -49,5 +53,8 @@ class NexText: public NexTouch
bool setText(const char *buffer);
};

/**
* @}
*/

#endif /* #ifndef __NEXTEXT_H__ */
8 changes: 8 additions & 0 deletions NexTouch.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@
#include "NexConfig.h"
#include "NexObject.h"

/**
* @addtogroup TouchEvent
* @{
*/

/**
* Push touch event occuring when your finger or pen coming to Nextion touch pannel.
*/
Expand Down Expand Up @@ -104,5 +109,8 @@ class NexTouch: public NexObject
void *__cbpop_ptr;
};

/**
* @}
*/

#endif /* #ifndef __NEXTOUCH_H__ */
7 changes: 7 additions & 0 deletions NexWaveform.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@

#include "NexTouch.h"
#include "NexHardware.h"
/**
* @addtogroup Component
* @{
*/

/**
* NexWaveform component.
Expand All @@ -42,5 +46,8 @@ class NexWaveform: public NexObject
bool addValue(uint8_t ch, uint8_t number);
};

/**
* @}
*/

#endif /* #ifndef __NEXWAVEFORM_H__ */
8 changes: 4 additions & 4 deletions doc/UserManual/_comp_button_8ino-example.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 7e1fbe1

Please sign in to comment.