jswrap_interactive.h 984 B

123456789101112131415161718192021222324
  1. /*
  2. * This file is part of Espruino, a JavaScript interpreter for Microcontrollers
  3. *
  4. * Copyright (C) 2013 Gordon Williams <gw@pur3.co.uk>
  5. *
  6. * This Source Code Form is subject to the terms of the Mozilla Public
  7. * License, v. 2.0. If a copy of the MPL was not distributed with this
  8. * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  9. *
  10. * ----------------------------------------------------------------------------
  11. * JavaScript methods and functions for the interactive shell
  12. * ----------------------------------------------------------------------------
  13. */
  14. #include "jsvar.h"
  15. #include "jsinteractive.h"
  16. void jswrap_interface_setBusyIndicator(JsVar *pinVar);
  17. void jswrap_interface_setSleepIndicator(JsVar *pinVar);
  18. void jswrap_interface_setDeepSleep(bool sleep);
  19. void jswrap_interface_trace(JsVar *root);
  20. void jswrap_interface_print(JsVar *v);
  21. void jswrap_interface_edit(JsVar *funcName);
  22. void jswrap_interface_echo(bool echoOn);
  23. JsVar *jswrap_interface_getSerial();