Search found 54 matches

by unity-control
Mon Aug 29, 2022 4:14 pm
Forum: Bug Reports
Topic: ESP32 and internal CAN
Replies: 11
Views: 5710

Re: ESP32 and internal CAN

Hi Leigh, I am going to try Internal CAN BUS on ESP32 soon and wanted to know what works and what doens't in Flowcode atm? I've used a lot PIC32 and that worked like a charm. If RX Interrrupt is not working on ESP32, how could this be achieved? Is there any way you guys can implement this in FC? Che...
by unity-control
Sun Aug 28, 2022 11:28 am
Forum: General
Topic: Event Log Embedded
Replies: 5
Views: 1151

Re: Event Log Embedded

Thanks Martin,

Yes arrays of strings are the way to go then, it's no problem I'll implement the log in this fashion, it's straightforward enough approach.

Cheers!
R
by unity-control
Sun Aug 28, 2022 10:10 am
Forum: General
Topic: Event Log Embedded
Replies: 5
Views: 1151

Re: Event Log Embedded

Thanks Martin, Yeah, I've allocated a Circular Buffer only for this purpose. Only problem now when simulating is when I use the function GetString() and say read 30 characters, the string comes back OK, but the data in the buffer seems to be set back to 255 (empties the data on those 30 characters) ...
by unity-control
Sun Aug 28, 2022 9:11 am
Forum: General
Topic: Event Log Embedded
Replies: 5
Views: 1151

Event Log Embedded

Hi all, I'd like to keep an internal logfile for debug events that I trigger on different parts of the program. The log would be kept in RAM so it can be retrieved at any time later either through serial or via the LCD. I think 100 lines of 40 characters each would be enough ~ so about 4KBytes alloc...
by unity-control
Fri Aug 26, 2022 6:14 pm
Forum: General
Topic: Display BMP on ILI9341
Replies: 5
Views: 1297

Re: Display BMP on ILI9341

OK cheers, will have a check.
by unity-control
Wed Aug 24, 2022 7:06 pm
Forum: General
Topic: ESP32 Timer compiler error
Replies: 5
Views: 1306

Re: ESP32 Timer compiler error

I had the same issue when I started using ESP32. However I've managed to adapt my program to use custom timers with some variables with minimal code. In other words, you can use a let's say 1ms Interrupt which is what I use at the moment. Inside the Interrupt routine, you just add something like thi...
by unity-control
Wed Aug 24, 2022 6:42 pm
Forum: General
Topic: Display BMP on ILI9341
Replies: 5
Views: 1297

Display BMP on ILI9341

Hi there guys, I'm trying without luck to display a bitmaps on an ILI9341 SPI LCD, just simulation at the moment. But doesn't seem to work at all. I've tried different file formats without luck. Is there any way to have a look at the component to see if we can adapt it to take PNG files as they util...
by unity-control
Wed Aug 24, 2022 5:39 pm
Forum: General
Topic: Custom Font for gLCD Font Library
Replies: 0
Views: 1248

Custom Font for gLCD Font Library

Hi all,

Is it possible to do a custom font as part of the gLCD Font Library Component?

If not out of the box, would it be possible to get a copy of the Component to modify it to our needs?

Cheers!
R
by unity-control
Tue Apr 19, 2022 12:53 pm
Forum: Bug Reports
Topic: I2C on ESP32-WROOM-32 BUG
Replies: 10
Views: 3515

Re: I2C on ESP32-WROOM-32 BUG

Thanks Martin, I don't get any errors on the console... strange. The scope capture is single shot of the first frames sent, so def. a bit weird that output... I also have nothing else on the bus, I reckon the WROOM32 board has an issue, I have plenty of them, so will try another one and get back wit...
by unity-control
Tue Apr 19, 2022 10:17 am
Forum: Bug Reports
Topic: I2C on ESP32-WROOM-32 BUG
Replies: 10
Views: 3515

Re: I2C on ESP32-WROOM-32 BUG

"20 - should be replaced by FCLsz_BUFFER....." I have checked the C code and this line is present in the C code output generated: // .Return = cal_i2c :: Transaction_Write(.Buffer, .Length) FCR_RETVAL = FC_CAL_I2C_Transaction_Write_1(FCL_BUFFER, 20, FCL_LENGTH); How can I fix this moving forward or ...