@felmue ,did you make any changes in the RS485.h file
along these line 46
#else
#ifndef RS485_DEFAULT_DE_PIN
#define RS485_DEFAULT_DE_PIN A6
#define RS485_DEFAULT_RE_PIN A5
#endif
thanks,
Mukul
@felmue ,did you make any changes in the RS485.h file
along these line 46
#else
#ifndef RS485_DEFAULT_DE_PIN
#define RS485_DEFAULT_DE_PIN A6
#define RS485_DEFAULT_RE_PIN A5
#endif
thanks,
Mukul
@felmue Hi felix
the changes you mentioned are in the same example code that is linked above?
@felmue hi felix sorry for the late reply, finally got a chance to get back to this
i studied the example but not sure if i understood how to implement the master slave concept through this and also there is a error thrown in
RS485Class RS485(Serial2, GPIO_NUM_1, GPIO_NUM_2, -1, -1);
as there are only 4 arguments accepted by the class
also serial2 needs some tweaking for esp32 right?
thanks
Hi, So i have a ISO RS485 and i need to get modbus working on it. The primary problem im facing is that the module is UART based and by my understanding M5Dial has I2C and GPIO ports. Is it as simple as hardware serial and setting 1 and 2 pins to UART or is there something else to it
Also it would be great help if there are any modbus library that can be used.
Thank You
Hi, I have been experimenting on m5dial recently and i have been having difficulties with putting images on display . How do i store images on flash memory in platformIO or do i just need header files with image arrays? Thank You
@navatek Hi, thanks a lot for the solution. finally it works and displays images normally
i was wondering if you have tried doing the same on arduino or other platforms.
@ajb2k3 i did, but it just doesn't show the image . I tried inserting the byte array to an other online complier and it gave the output as required
can you please tell me what you use for images as UIflow 2.0 doesn't work for me as well
thank you
@mukul_100_ Has anyone got this working on a M5Dial? if they have i can check what actually is going wrong
Cannot upload any images to my M5dial , not through UIflow 2.0 or arduino
i tried one example of M5gfx called drawImageData which is giving output image as per the btye array but when i put values i got from converting an image to c i cannot display anything
Thanks for the help
@ajb2k3 hi thank you for the response
i did try the suggested jpeg format with a 19kb file and it still shows no image but the default image label shows when no file is given to it
can it be the image itself or uiflow 2?
Hi, even i am facing the same issue with uiflow 2, the image is in jpg and 100x100px
please help.
Thanks