Tengo un problema con mi código, siento que tiene una solución bastante simple pero no puedo encontrarlo.
/* Copyright (c) 2016-2017 Moddable Tech, Inc.
This file is part of the Moddable SDK Runtime. The Moddable SDK Runtime is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. The Moddable SDK Runtime is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with the Moddable SDK Runtime. If not, see <http://www.gnu.org/licenses/>.*/
/* ArduCAM Mini controlador de 2 megapíxeles - chip controlador OV2640 */
exportar clase predeterminada ArduCAM "xs_arducam_destructor" { constructor (diccionario) "xs_arducam"; capturar() "xs_arducam_capture"; leer (búfer) "xs_arducam_read"; close() "xs_arducam_close"; }
/* diccionario:
{width: 320, height: 240, format: "rgb565be"} {width: 320, height: 240, format: "rgb565le"} {width: 160, height: 120, format: "jpeg"}*/
No tengo mucha experiencia con la codificación javascript y solo quiero terminar este código para mi arduino. Realmente no he probado muchos métodos diferentes para solucionar el problema, lo busqué pero no lo hice.