mirror of
https://github.com/clockworkpi/PicoCalc.git
synced 2026-03-27 06:22:38 +01:00
add pico_multi_booter code
This commit is contained in:
33
Code/pico_multi_booter/picomite/Onewire.h
Normal file
33
Code/pico_multi_booter/picomite/Onewire.h
Normal file
@@ -0,0 +1,33 @@
|
||||
/*
|
||||
* @cond
|
||||
* The following section will be excluded from the documentation.
|
||||
*/
|
||||
/* *********************************************************************************************************************
|
||||
MMBasic
|
||||
|
||||
Onewire.h
|
||||
|
||||
Include file that contains the globals and defines for Onewire.c (One Wire support) in MMBasic.
|
||||
|
||||
Copyright 2012 Gerard Sexton
|
||||
This file is free software: you can redistribute it and/or modify it under the terms of the GNU General
|
||||
Public License as published by the Free Software Foundation, either version 3 of the License, or (at your
|
||||
option) any later version.
|
||||
|
||||
************************************************************************************************************************/
|
||||
|
||||
// These two together take up about 4K of flash and no one seems to use them !!
|
||||
//#define INCLUDE_CRC
|
||||
#define INCLUDE_1WIRE_SEARCH
|
||||
|
||||
/* ********************************************************************************
|
||||
All other required definitions and global variables should be define here
|
||||
**********************************************************************************/
|
||||
#if !defined(INCLUDE_COMMAND_TABLE) && !defined(INCLUDE_TOKEN_TABLE)
|
||||
#ifndef ONEWIRE_HEADER
|
||||
#define ONEWIRE_HEADER
|
||||
extern long long int *ds18b20Timers;
|
||||
extern int mmOWvalue;
|
||||
#endif
|
||||
#endif
|
||||
/* @endcond */
|
||||
Reference in New Issue
Block a user