TOP Contributors

  1. MIKROE (2779 codes)
  2. Alcides Ramos (376 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (118 codes)
  5. Bugz Bensce (97 codes)
  6. S P (73 codes)
  7. dany (71 codes)
  8. MikroBUS.NET Team (35 codes)
  9. NART SCHINACKOW (34 codes)
  10. Armstrong Subero (27 codes)

Most Downloaded

  1. Timer Calculator (139559 times)
  2. FAT32 Library (72041 times)
  3. Network Ethernet Library (57254 times)
  4. USB Device Library (47607 times)
  5. Network WiFi Library (43219 times)
  6. FT800 Library (42551 times)
  7. GSM click (29930 times)
  8. mikroSDK (28292 times)
  9. PID Library (26930 times)
  10. microSD click (26309 times)
Libstock prefers package manager

Package Manager

We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]

< Back
Example

WIFI HTTP + javaScript file loading from microSD card (Hello world! example)

Rating:

0

Author: Wilson A. Gan Cuba

Last Updated: 2013-05-08

Package Version: 1.0.0.2

Example: 1.0.0.0

Category: WiFi

Downloaded: 1000 times

Not followed.

License: MIT license  

The intent of this example is to show how to merge the mikroElektronica's wifi http demo with the microSD demo so that the web page can grow bigger due to the ROM space of the MCU can be saved utilizing the microSD as storage of external files.

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "WIFI HTTP + javaScript file loading from microSD card (Hello world! example)" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "WIFI HTTP + javaScript file loading from microSD card (Hello world! example)" changes.

Do you want to report abuse regarding "WIFI HTTP + javaScript file loading from microSD card (Hello world! example)".

  • Information
  • Comments (0)
DOWNLOAD LINK RELATED COMPILER CONTAINS
mikroC PRO for PIC
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc

Example Blog

The intent of this example is to show how to merge the mikroElektronica's wifi http demo with the microSD demo so that the web page can grow bigger due to the ROM space of the MCU can be saved utilizing the microSD as storage of external files.

The page on this example will load a variable (hello) contained in the file testing.js in the microSD card with the content: "Hello World!".



Example

Example

Final result using Mozilla firefox with firebug.

View full image
Wifi plus and mikroSD click boards

Wifi plus and mikroSD click boards

Boards used

View full image

[version 1.0.0.1]

1-External file dynamically generated URL to avoid browser caching, although caching may be sometimes desirable (but not for testing purposes, because instant code change is required).

2-Fixed bug that produced external file content incorrect reading.

Lenguaje español

La intención de este ejemplo es mostrar cómo combinar la demostración WIFI HTTP con la demostración microSD de mikroElektronika para que la aplicacion  web pueda escalar debido a que el espacio de la memoria ROM del MCU se puede ahorrar utilizando la tarjeta microSD como almacenamiento de archivos externos.

La página en este ejemplo carga una variable (hello) contenida en el archivo testing.js almacenado en la tarjeta microSD con el contenido: "Hello World!".


ALSO FROM THIS AUTHOR

WIFI HTTP + multi file loading from PIC ROM ( .html, .css, .js)

0

The purpose of this project is to demonstrate in a simplified manner, how add multiple files to Mikroelektronika's WIFI HTTP demo, which will be stored in the PIC ROM but could be requested through the main web page as external files, all to be included in the same web page.

[Learn More]

Ajax WIFI HTTP demo with microSD storage

1

This project is similar in functionality to the original Ajax WIFI HTTP demo with ROM storage, but has been modified in several aspects to make the web page files be stored and served from a microSD card. Release date: May, 07 2013.

[Learn More]

WIFI HTTP + image loading from PIC ROM

0

Simple example to demonstrate how an image (or probably almost any binary file) can be encoded in base64 format and loaded into the PIC ROM as long as the ROM space allows it.

[Learn More]