Moderator: igrr
Of course, there are some others, such ATMega2560, but look at my yesterday's post viewtopic.php?f=32&t=7438, the ATMega2560 still only offer "VAX MIPS rating = 7.23" while ESP provides "VAX MIPS rating = 52.57", about 7 times faster.
For the Arduino DUE, which use a SAM3U, I don't have any dhrystone results yet.
Falesh wrote:On the Arduino I use commands like "PORTD |= _BV(7)" & "PORTD &= ~_BV(7)" to turn pins on and off really quickly. I tried to use this on the NodeMCU ESP8266 but it didn't work. Is there an alternative that can be use with the ESP8266 which is just as fast?try this also:
extern "C" {
#include "gpio.h"
}
void setup() {
PIN_FUNC_SELECT(PERIPHS_IO_MUX_GPIO2_U,FUNC_GPIO2);
}
void loop() {
gpio_output_set(0,BIT2,BIT2,0);
gpio_output_set(BIT2,0,BIT2,0);
}
villTech wrote:how about Zero? and 101? they are also arduinos.
Right ! but they are too expensive...
If you have one of those, maybe you can try benchmarking them with "dhry21a" and let us know how powerful they are ?