|
Introduction to Microcontroller Programming * Course Index * Introduction * About the Author * About this Course * Feedback * Course Navigation * Quick Course Navigation * How to use this Course * Acronyms Used and Course Conventions About PICmicro Chips * What is a PICmicro? * Microcontrollers * Digital versus Analogue * Inputs and Outputs * Memory * Programming * 16F1937 Architecture Clocking Your PICmicro Devices * Introduction * The Clock Circuit * Clock Settings * Clock Confusion E-Blocks * Introduction to E-blocks * Using E-blocks * E-blocks Boards Flowcode Step By Step * Introduction to Flowcode * Basic Flowcode Functions * Digital Outputs * Digital Inputs * Basic Loops * The LCD Display * Binary Numbers * Decisions * Goto (Connection Point) * 7-Segment Displays * Software Macro * Strings and Memory * A Simple Hi-Fi PICmicro Projects * Introduction to PICmicro Projects * Construction Methods * Choosing a Power Source * Adding Inputs * Input Conditioning * Adding Outputs * Adding Drivers Labs * Introduction and Lesson Plan * 1. Output * 2. Delay * 3. Connection Point * 4. Calculations * 5. Loop * 6. Input * 7. Decision * 8. LCD * 9. Keypad * 10. Analogue + EEPROM * 11. Software Macro * 12. External Interrupt * 13. Timer Interrupt |
(:Summary:Contains the 'action' links (like Browse, Edit, History, etc.), placed at the top of the page, see site page actions:) (:comment This page can be somewhat complex to figure out the first time you see it. Its contents are documented at PmWiki.SitePageActions if you need help. :) * Print (:comment (:if group Site,SiteAdmin,Cookbook,Profiles,PmWiki*:) (:comment delete if and ifend to enable backlinks:) * %item rel=nofollow class=backlinks accesskey='$[ak_backlinks]'% [[{*$Name}?action=search&q=link={*$FullName} | $[Backlinks] ]] (:ifend:) :) * Login PmWiki /
EditVariables(:Summary: PmWiki group header. Includes styles and trail.:) (:comment please leave the multiple style definitions concatenated as a single line. Linebreaks do appear in the output when the wiki is configured with linebreaks enabled -- thanks!:) (:comment included in PmWiki localisation headers and footers :) < Debug Variables | Variables | I18n Variables > To set many of the variables below specify them in @@config.php@@. : : :
$AutoCreate[REGEXP] = PAGE_PARAMETERS;
where @@REGEXP@@ is a regular expression which will identify the pages to be autocreated, and @@PAGE_PARAMETERS@@ is an array of attributes for the page to be created. For example
$AutoCreate['/^Category\\./'] = array('ctime' => $Now);
will create a blank page with a current creation time for any missing Category page.
:
$DefaultPageTextFmt = '(:include $[{$SiteGroup}.PageNotFound]:)';
: ## Change delete word to "remove": $DeleteKeyPattern = "^\\s*remove\\s*$"; ## Delete any page with no visible text, i.e., empty: $DeleteKeyPattern = "^\\s*$"; :
$DiffKeepDays = 30; # keep revisions at least 30 days
If you want to suppress a page's revision history, you can insert into a customization file
$DiffKeepDays = $DiffKeepNum = -1; # suppress revision history
Note that a specific page revision isn't removed from the page until the first edit after the time specified by $DiffKeepDays has elapsed. Thus, it's still possible for some pages to have revisions older than $DiffKeepDays -- such revisions will be removed the next time those pages are edited.
:
$DiffKeepNum = 50; # keep at least 50 revisions (default is 20)
To suppress page's revision history with $DiffKeepNum = -1 see $DiffKeepDays above.
:
$DraftActionsPattern = 'edit|pmform|translate';
# Enable drafts for actions 'edit', 'pmform' and 'translate'.
: :
$EditFunctions = array('EditTemplate', 'RestorePage', 'ReplaceOnSave',
'SaveAttributes', 'PostPage', 'PostRecentChanges', 'AutoCreateTargets', 'PreviewPage');
<:vspace>
Many recipes manipulate this array, so it is recommended, instead of redefining the complete array to add your custom functions, to use functions like array_unshift(), array_push() and array_splice().
:
## Redirect to Main.HomePage:
$EditRedirectFmt = 'Main.HomePage';
## Redirect to HomePage of current group:
$EditRedirectFmt = '{$Group}.HomePage';
:
## Use 'Main.NewPageTemplate' as default text of all new pages:
$EditTemplatesFmt = 'Main.NewPageTemplate';
## Use 'Template' in the current group for new pages:
$EditTemplatesFmt = '$Group.Template';
## Use 'Template' in the current group if it exists, otherwise
## use 'Main.NewPageTemplate':
$EditTemplatesFmt = array('$Group.Template', 'Main.NewPageTemplate');
-> See Cookbook:EditTemplates for more information.
:
$EnableDrafts = 1;
-> A related variable, $EnablePublishAttr, adds a new "publish" authorization level to distinguish editing of drafts from publishing them.
: : ## Turn on graphical edit buttons: $EnableGUIButtons = 1; : : $EnablePreviewChanges = 1; : ## Require authors to provide a name: $EnablePostAuthorRequired = 1; : : ## Store browser user agent with page diffs: $EnableRevUserAgent = 1; : : : : : : : : Categories: PmWiki Developer(:nl:)(:Summary:Trail and talk page links:) (:comment included in PmWiki localisation headers and footers :) < Debug Variables | Variables | I18n Variables > <<? >>bgcolor=#ffe border-top="1px solid black" font-size=.8em<< This page may have a more recent version on pmwiki.org: PmWiki:EditVariables, and a talk page: PmWiki:EditVariables-Talk. >><< |
(:Summary: Website page footer:)
Print - (:comment (:if group Site,SiteAdmin,Cookbook,Profiles,PmWiki*:) (:comment delete if and ifend to enable backlinks:) %item rel=nofollow class=backlinks accesskey='$[ak_backlinks]'% [[{*$Name}?action=search&q=link={*$FullName} | $[Backlinks] ]] (:ifend:) :) Search - Login
Page last modified on August 30, 2019, at 07:06 AM