TOP Contributors

  1. MIKROE (2642 codes)
  2. Alcides Ramos (348 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (112 codes)
  5. Chisanga Mumba (90 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 (136227 times)
  2. FAT32 Library (69497 times)
  3. Network Ethernet Library (55712 times)
  4. USB Device Library (45997 times)
  5. Network WiFi Library (41640 times)
  6. FT800 Library (40804 times)
  7. GSM click (28789 times)
  8. PID Library (26333 times)
  9. mikroSDK (26061 times)
  10. microSD click (25148 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: 961 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 + media loading from microSD (image, audio and video) (HTML5 compatible)

0

This projects shows how to read a multimedia file from a microSD an load it into a web page.

[Learn More]

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]

WIFI embedded WEBGL with PIC micro (3D animation)

0

The first two examples in the world to demonstrate how to load a WEBGL animation using a PIC microcontroller. Release date: April, 28 2013

[Learn More]