Search found 13642 matches

by Benj
Thu Nov 21, 2019 11:04 am
Forum: Feature Requests
Topic: OLED with SPI SSD1306/SH1106 --> additional fonts
Replies: 5
Views: 387

Re: OLED with SPI SSD1306/SH1106 --> additional fonts

Thanks for the input Chad.

Regarding fonts on Arduino can you use multiple fonts on a single display using Arduino? Also do you get to choose your font?

It's all possible it's just finding a way that's both functional and straightforward to use.
by Benj
Thu Nov 21, 2019 11:01 am
Forum: Flowcode V7
Topic: PIC18f2553 RE3/Mclr
Replies: 6
Views: 119

Re: PIC18f2553 RE3/Mclr

Hello,

Please can you attach your Flowcode project file and also your .hex file and I'll investigate for you.
by Benj
Wed Nov 20, 2019 5:52 pm
Forum: General Programming
Topic: Non-volatile memory on a PIC18F87J50
Replies: 10
Views: 282

Re: Non-volatile memory on a PIC18F87J50

Hi Chad, Ok for that device there is no example code in the datasheet however I did stumble across this MIcrochip forum topic which looks relevent. https://www.microchip.com/forums/m722793.aspx Specifically this example. http://ww1.microchip.com/downloads/en/DeviceDoc/PIC32_NVM_CodeExample_041613.zi...
by Benj
Wed Nov 20, 2019 5:45 pm
Forum: Feature Requests
Topic: OLED with SPI SSD1306/SH1106 --> additional fonts
Replies: 5
Views: 387

Re: OLED with SPI SSD1306/SH1106 --> additional fonts

Hello, GLCD fonts is something I've spent a fair amount of time thinking about. With your 7x10 font would you be happy using just this font or would you also need access to the 5 x 8 font on a single display. Each font would consume an amount of your program flash area so adding more then one is pos...
by Benj
Wed Nov 20, 2019 2:32 pm
Forum: General Programming
Topic: Non-volatile memory on a PIC18F87J50
Replies: 10
Views: 282

Re: Non-volatile memory on a PIC18F87J50

Yes probably,

I want to make a component to drive it but it's complicated to cover all devices. I'm slowly getting to grips with the associated code. The PIC32 likely breaks all these rules anyway :wink:

Is there a specific chip in mind?
by Benj
Wed Nov 20, 2019 2:28 pm
Forum: General / Misc
Topic: RTOS
Replies: 3
Views: 2572

Re: RTOS

Hi Chad, It's something we've looked at a few times under different compilers. There was the RTOS built into BoostC, there's also FreeRTOS and we have also considered creating our own utilising a timer peripheral. We have had code running using FreeRTOS but not nicely integrated into Flowcode so it'...
by Benj
Wed Nov 20, 2019 1:33 pm
Forum: Forums d'aide en français
Topic: Lire un fichier Excel ou txt sur carte SD?
Replies: 5
Views: 308

Re: Lire un fichier Excel ou txt sur carte SD?

Hi Christian,

Here's a starting point for you, the example now reads a complete line into a string.

You should be able to find the spaces between the name and the value and pull the two into seperate strings.

SD_Read_Data.fcfx
(13.52 KiB) Downloaded 1 time
by Benj
Wed Nov 20, 2019 1:12 pm
Forum: Bug Reports
Topic: PIC16F1936 software set UART... NOT correct.
Replies: 2
Views: 44

Re: PIC16F1936 software set UART... NOT correct.

Hi Spencer,

Glad you've got it working now. This is a nice and simple tool I often use to help ensure things are running at the correct speed.

https://www.matrixtsl.com/wiki/index.ph ... ED_flasher
by Benj
Wed Nov 20, 2019 1:09 pm
Forum: Programming Tips & Tricks
Topic: GLDC display!
Replies: 1
Views: 74

Re: GLDC display!

Hi Jorgen, Thanks for sharing, looks like a very useful program. For interest here are the various font sizes in pixels. Font sizes Standard Fonts 0 = Normal - 5 x 8 pixels plus 1 x space pixel between letters 1 = 2 x Width 2 = 2 x Width and 2 x Height 3 = 2 x Height Extended Fonts 4 = 2 x Width and...
by Benj
Wed Nov 20, 2019 12:15 pm
Forum: Flowcode V7
Topic: PIC18f2553 RE3/Mclr
Replies: 6
Views: 119

Re: PIC18f2553 RE3/Mclr

Hello, I'll see if I can get this fixed in a more elegant manner. Basically Flowcode looks for a data direction register and on your device there isn't one for PortE as the single port pin can only ever be an input. For now you can work around the problem like this. If you click on Build -> Project ...
by Benj
Wed Nov 20, 2019 12:03 pm
Forum: Programming Tips & Tricks
Topic: Full Duplex Code
Replies: 1
Views: 20

Re: Full Duplex Code

Hello, I beleive the UART component currently offers full duplex communications. You can then use say a RS232 line driver to allow this signal to travel over distance. https://www.matrixtsl.com/wiki/index.php?title=Component:_ID_c73616d1_7ad0_45d9_aada_69ccfa4c5efc RS485 I beleive only supports half...
by Benj
Wed Nov 20, 2019 12:01 pm
Forum: User Components
Topic: Component for 7 Segment TM1637 with 6 digits
Replies: 1
Views: 35

Re: Component for 7 Segment TM1637 with 6 digits

Hi Dirk,

We have support for a quad display using the TM1637 device. Do you have any more information on the module, e.g. the wiring schematic or a library so we can see how the individual parts are mapped.
by Benj
Mon Nov 18, 2019 10:50 am
Forum: General Programming
Topic: Non-volatile memory on a PIC18F87J50
Replies: 10
Views: 282

Re: Non-volatile memory on a PIC18F87J50

Excellent well done and thanks for letting us know.

The code in the datasheet can often be generic and not quite right so you've done well to tweak it so it works.
by Benj
Fri Nov 15, 2019 5:24 pm
Forum: Bug Reports
Topic: PIC32MZ + WS2812 Not Working
Replies: 49
Views: 1284

Re: PIC32MZ + WS2812 Not Working

Thanks for letting me know. The brightness issue should now be completely fixed in the latest component updates.
by Benj
Fri Nov 15, 2019 5:02 pm
Forum: Flowcode V5
Topic: SCROLLING TEXT MANY TIMES ON LCD
Replies: 2
Views: 123

Re: SCROLLING TEXT MANY TIMES ON LCD

Hello,

The Alphanumeric displays have a component macro called ScrollDisplay. Are you using this function?

Another way would be to parse a string variable with a startidx and a character count and this way you can easily scroll through your message without any duplicated code.
by Benj
Fri Nov 15, 2019 1:48 pm
Forum: Bug reports
Topic: Pic16F1618 UART Remap
Replies: 16
Views: 314

Re: Pic16F1618 UART Remap

Hello,

Can you send us your latest test program and I'll try and investigate for you.
by Benj
Fri Nov 15, 2019 1:35 pm
Forum: 8-Bit PIC
Topic: 18f46K22 ADC Funnies
Replies: 4
Views: 134

Re: 18f46K22 ADC Funnies

Hello, Excellent, thanks for letting us know. Yes all unused pins will default to a tri-state floating input mode and so a short shouldn't cause any long term damage. What would maybe cause damage is if you had an output pin driving high shorted to an output pin driving low as this would cause an ex...
by Benj
Fri Nov 15, 2019 11:11 am
Forum: 8-Bit PIC
Topic: 18f46K22 ADC Funnies
Replies: 4
Views: 134

Re: 18f46K22 ADC Funnies

Hello,

Have you applied the latest updates available from here.
viewtopic.php?f=63&t=19743
by Benj
Thu Nov 14, 2019 12:46 pm
Forum: Bug Reports
Topic: PIC32MZ + WS2812 Not Working
Replies: 49
Views: 1284

Re: PIC32MZ + WS2812 Not Working

I've just had a look and it seems inverted.

0.0 = full brightness, 255 or 1.0 = Off.

I'll get this fixed ASAP.
by Benj
Thu Nov 14, 2019 11:22 am
Forum: General Programming
Topic: Non-volatile memory on a PIC18F87J50
Replies: 10
Views: 282

Re: Non-volatile memory on a PIC18F87J50

Ok thanks, Here's a simple example with macros to read, erase and write. You must erase the row of memory before writing values. I just copied the example code from the datasheet and substituted the variables for Flowcode variables. It compiles but I haven't tested it any more than this. Flash_18F87...
by Benj
Thu Nov 14, 2019 10:53 am
Forum: Flowcode V8
Topic: ENC28J60 TCPIP working nice but LED?
Replies: 2
Views: 93

Re: ENC28J60 TCPIP working nice but LED?

Hello Stefan, I've just looked at the code generated by the ENC28J60 component and there is no LED or LED_base so it looks like it's another component that is generating this code, maybe a LED? If you can send me the project file, public or private then I'll try and help you track down which compone...
by Benj
Thu Nov 14, 2019 10:47 am
Forum: Bug Reports
Topic: PIC32MZ + WS2812 Not Working
Replies: 49
Views: 1284

Re: PIC32MZ + WS2812 Not Working

Hello,

This could very useful indeed Ben.


The new component has been made and it should be available now via the update system.
by Benj
Wed Nov 13, 2019 11:56 am
Forum: C and ASM Programming
Topic: C-code
Replies: 25
Views: 739

Re: C-code

Hi Martin, The GetCountMicroSeconds uses floating point maths and hence the problem in terms of stopping on a fixed delay. Normally you would time how long something takes e.g. start the timer wait for something to happen, stop the timer and then collect the time elapsed and this will provide a high...
by Benj
Wed Nov 13, 2019 11:17 am
Forum: Flowcode V8
Topic: PIC24F128GA010 EEPROM
Replies: 3
Views: 103

Re: PIC24F128GA010 EEPROM

This component written by Kersing might be useful.
viewtopic.php?f=58&t=15932

Not sure if it will work with the PIC24F128GA010 but it's worth a go.
by Benj
Wed Nov 13, 2019 11:14 am
Forum: General Programming
Topic: I2C Multi Master
Replies: 6
Views: 362

Re: I2C Multi Master

Hello,

I've done the PIC device for you with the new interrupt.
12F1840.fcdx
(18.66 KiB) Downloaded 9 times


The AVR devices do not have SPI or I2C based interrupts available so you may instead have to use pin change interrupts instead.