Hello @kl3m3n,
The read how many lines exists in the files is no problem.
Next week i will see how to handle it with FAC and FP
Thank you
Regards
Hello @kl3m3n,
The read how many lines exists in the files is no problem.
Next week i will see how to handle it with FAC and FP
Thank you
Regards
Hello,
With this I create a widget of type TA
mqttClient.publish(&In[0], "|TA UID:ta1 X:84 Y:26 W:30 H:43 VIS:1 BGC:#b4c5de FGC:#121212 SHE:1 FSZ:4.5 RAD:1.5 BSZ:10 CL:1\r\n");
I have a file on SPIFFS, such as "/test.txt", to which I sometimes append a few lines of text.
The question is, how can I read only the last 10 lines of the file to place it in the ta1 widget?
With BSZ:10 I can show the last 10 lines in "ta1", but the file is read from the beginning, line by line to "ta1" and after all then only shows the last 10 lines.
The reason for my question is that, as I use a GPRS modem, I would like to send as little data as possible via MQTT, in this case want send only the last 10 lines of the file.
To solve this problem, I've written some workaround code, but it's not very elegant
What could be the best solution to this?
Regards
Hello @kl3m3n,
I have not un/install, maked only the update option.
In this project don´t use NFC anymore.
Have choose another way to detect if it was a local or a remote access.
Regards
Hello @kl3m3n,
Updated ro v1.0.54.1 and now works again
Attached the Android version too
Thank you
Regards
Hello Kl3m3n, hope you are doing well
Today I updated to v1.053.1 but it no longer works. Gui-O opens, starts loading the widgets and closes the app at the end.
I've uploaded older versions of my software that have always worked, but with this update they don't work either.
Kl3m3n can you please check what's the problem on?
Best regards
Sato
Hi @kl3m3n,
Thanks, I know this chip, but never used it
I have done in the last 20 years almost all my projects with Bascom and Atmega and Xmega microcontrollers, but there are no libraries like in the Arduino, you have to code everything from scratch. With the Esp32 this task is easier, for this there is the lib can.h and you only need the soic8 driver for the bus.
The advantage is that the Atmega88PA is cheaper than the Esp32 but I will still think about which one to choose
Thanks for the attempt to help
Regards
Hi Kl3m3n,
A sincere thank you.
The whole process seems to be quite complex. In my case, it is for Windows.
I am trying to get a fixed IP. The ISP operators want a high value. I will look for cheaper ones.
In the next few days I'll try to install it and do some tests. I will give you my feedback then.
Thanks again for your support.
Best regards
Hello @Bernard,
I look for a example code in Bascom that use CAN communication. I never used CAN BUS communication, but i needed it for a new project.
Best regards
Hello,
Does anyone have a functional example code in Bascom for an microcontroller like Atmega88 or other microcontroller from Atmel without intern CAN hardware to use CAN BUS communication
Thanks
Best regards