Instead of using Java, can I use a native C/C++ programming language?
I understand I might not be able to use Web ID, but that is OK.... is using C/C++ possible?
Hello and hapy new year,
As the interpreter is written in C/C++, you should certainly be able to use C or C++ on the board that is running it so far.
You could also see this thread if you need to add some C/C++ functionalities to the interpreter.
See your board manufacturer for further details about dev environnement.
Thanks for the reply.
The thing that looks attractive about Espruine is that it has new hardware modules that I can not find in similar module? is this correct or am I missing something here?
For examples all there hardware modules and the recent Seeed Wio LTE?
and in addition, according to Espruino, many of the modules are low-power consumption compared to others. This makes it more attractive for wireless modules and applications, or battery-powered applications
Another option is to use Espruino, but to then write extensions for it in C/C++ - but it sounds like that might not be what you want.
Thanks Gordon .
The below are hardware modules and not a software module? right? my point is that, irrespective of using Java or C/C++, these hardware module are good collections to use in many applications and some of these hardware can have low-power consumption.
•433.92Mhz Transmitter and Receiver
•ADNS5050 Optical Mouse Sensor
•ADS1x15 programmable gain ADC
•AT Command Handler
•Analog RGB LED Control
•Arduino Pico adaptor board
•BH1750 I2C Light Sensor
•BMP Loader Module
•BMP085/BMP180 digital pressure sensor
•CAP1188 capacitive touch breakout
•CC3000 WiFi Module
•Charlieplexed LED Module
•DHT11 Temperature and RH Sensor
•DHT22/AM230x/RHT0x Temperature and RH Sensor
•DS18B20 Temperature Sensor
Those Modules are software to drive/use the respective hardware modules.
If i have a project in mind, let say a weatherstation, and i want to use a DHT11 to measure
the temperature. I connect the DHT11 sensor (hardware module) to my espruino. Then i need some software to "talk" to the sensor so i can read the temperature. This is where the espruino modules come into play. I require the library (software module) for the DHT11 and can easily connect and read temperature data from the sensor.
Clicking on any of these modules, they are hardware module.
Yes most of the modules have extensive documentation how to connect the hardware and example code. I edited my previous post with an example to further show the differences but you were to fast answering :D
Don't worry about formatting, just type in the text and we'll take care of making sense of it. We will auto-convert links, and if you put asterisks around words we will make them bold.
For a full reference visit the Markdown syntax.
© Espruino, powered by microcosm.
Report a problem