Closed brightproject closed 1 year ago
Can't add the EncButton library with version newer than 2
Thanks for reporting, will look into it
On Tue, Aug 29, 2023, 3:44 PM AlexGyver @.***> wrote:
Cant add a EncButton library with version newer than 2 [image: image] https://user-images.githubusercontent.com/84599917/264039168-e72b0447-8aec-4f9c-a9c9-62013c2faa5b.png [image: image] https://user-images.githubusercontent.com/84599917/264039035-e4ee73ab-d87b-492b-8b94-c585be926d85.png [image: image] https://user-images.githubusercontent.com/84599917/264039403-531b6100-010b-4623-8a88-91ff6d170190.png
— Reply to this email directly, view it on GitHub https://github.com/wokwi/wokwi-features/issues/641, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGZ3HQEQXXRX2N3G2YY7RDXXXW2XANCNFSM6AAAAAA4A7HARQ . You are receiving this because you were mentioned.Message ID: @.***>
@GyverLibs should be fixed now, can you please try again?
Thanks for the feedback @brightproject!
@urish solved, thanks!
4. I'm curious - what issues are you having with the VS Code version?
Thanks @urish for the replies.
In VS Code
there is no possibility to edit the scheme visually, only in the file diagram.json
Simulation
ets Jul 29 2019 12:21:46
rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:1156
load:0x40078000,len:11456
ho 0 tail 12 room 4
load:0x40080400,len:2972
entry 0x400805dc
Flash size: 16777216 bytes
Psram size: 0 bytes
The speed of simulation execution is still very far from the speed of execution on a real microcontroller.
I tried to increase the flash memory and sdram, so if they realized the opportunity to increase the SRAM
- the real esp32 SRAM
has 512 kB.
Therefore, graphic displays work very fast.
Even a simple example works for me on stm32f401
https://github.com/wokwi/wokwi-features/assets/1788098/da95c29d-d029-49bb-ac21-db0b7f8c8966
And in the simulator on esp32
slows down.
Although ... there is still a nuance, in a real device - connection via an 8-bit interface is parallel, and in a simulator via SPI.
Can I implement fast SPI in the simulator?
Perhaps you need to take esp32-s3
for simulation?
Or does the simulation have one speed of operation for all microcontrollers?
It would also be possible to press two or more buttons at the same time.
@urish please relocate issue into https://github.com/wokwi/wokwi-features I can't recover my Discord password - that's why I'm writing about problems here.
https://github.com/wokwi/wokwi-docs/assets/1788098/bb6748ee-96c4-4987-9396-8f1ecae9db82
Added 16 "*h" files and can't save project. Is this a limitation of the free version or a bug? I managed to save the project archive - help me figure out why it is not saved and why the buttons do not always work adequately. Flightinstruments_TFT_eSPI.zip The project is quite interesting, and can greatly popularize your simulator. In case of full adaptation of the code to the simulator, you can add it to the section featured projects. Please see it if possible. Any questions are welcome.
"type": "board-ili9341-cap-touch"
displays the image shifted to the right, you can see it in the screenshot above. I wanted to try another debug board, but I could not connect a displayili9341
with the TFT_eSPI library, nor did I find examples - apparently it does not support these displays yet."type": "board-esp32-s3-devkitc-1"
As far as I understand, the simulator is not a 100% likeness of a real device, and you should not expect miracles from it. There were thoughts to make a purchase, but the simulator did not work on the PC in VS Code, and there are still bugs in the online version.