Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
By martinayotte
#37919 Most of them are, such UNO, Nano, Mini Pro are all using ATmega328, while the Micro Pro is using ATmega32U4.
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.
User avatar
By villTech
#37959 how about Zero? and 101? they are also arduinos.

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:

Code: Select allextern "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); 
}
User avatar
By martinayotte
#37972
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 ?