Resistors as a rule of thumb 4k7.
The same contrast behavior is something I’ve seen with perfectly working displays so isn’t necessarily an issue.
Search found 1570 matches
- Mon Nov 16, 2020 5:26 pm
- Forum: Flowcode V7
- Topic: iC2 2004A from Flowcode 7 via ATMEGA32 FAILURE
- Replies: 5
- Views: 4748
- Mon Nov 16, 2020 1:47 pm
- Forum: Flowcode V7
- Topic: iC2 2004A from Flowcode 7 via ATMEGA32 FAILURE
- Replies: 5
- Views: 4748
Re: iC2 2004A from Flowcode 7 via ATMEGA32 FAILURE
Are there pull up resistors on the I2C lines? Those might be present on the display module, however if there aren’t any yet you will need to add them to your hardware setup.
- Mon Nov 02, 2020 8:32 pm
- Forum: Electronics products
- Topic: (re)programming a PIC over USB
- Replies: 22
- Views: 39579
Re: (re)programming a PIC over USB
To search for chips you can use the Microchip parametric search . With the right parameters you should find the 16F1459 which meets the requirements. A quick google for USB boot loaders suggests Microchip provides code for one (HID boot loader). To use the result with Flowcode you will need to provi...
- Wed Oct 21, 2020 8:03 pm
- Forum: General Programming
- Topic: calculation question
- Replies: 11
- Views: 7568
Re: calculation question
Have you added the local variable to the macro? You can add it in the macro properties (last tab from memory).
- Tue Oct 13, 2020 4:53 pm
- Forum: Flowcode V8
- Topic: Cannot compile to HEX with Pro lisence
- Replies: 4
- Views: 2281
Re: Cannot compile to HEX with Pro lisence
The naming of PIC devices with PIC, PIC16, PIC24 and PIC32 when there are 8 bit pics called pic16f<whatever> which is a PIC, not PIC16 doesn’t make things easy for the non expert users. May-be Matrix can reconsider the naming of the chip packs?
- Mon Oct 12, 2020 9:38 pm
- Forum: Programming Tips & Tricks
- Topic: Interface board for Flowcode V8 and above. Now added RTC
- Replies: 33
- Views: 21795
Re: Interface board for Flowcode V8 and above. Now added RTC
Download is an item of the “Code” “button”. Works for me...
- Wed Oct 07, 2020 8:03 pm
- Forum: Flowcode V8
- Topic: Re-position code start address not working
- Replies: 1
- Views: 1245
Re: Re-position code start address not working
DoNothing does what the name implies: nothing. Adding arguments won’t make it do anything else, it still does nothing.
You need to modify the compiler settings which in FC8 does both compilation and linking of the code.
You need to modify the compiler settings which in FC8 does both compilation and linking of the code.
- Mon Sep 28, 2020 4:56 pm
- Forum: Flowcode V8
- Topic: USB Slave on PIC
- Replies: 7
- Views: 3460
Re: USB Slave on PIC
I get your point. It's interesting that you should bring up PCB design software. I am a CID certified PCB design engineer. If the software doesnt have a component I just create one as required. Which is pretty much what I want to do in FC. That is pretty much what I’ve done for a couple of customer...
- Sun Sep 27, 2020 3:16 pm
- Forum: Flowcode V8
- Topic: USB Slave on PIC
- Replies: 7
- Views: 3460
Re: USB Slave on PIC
The problem i am finding with FC right now is that it if you arent using the paid for components, you cant really do much with it. There is a lot you can do with Flowcode. However it is unrealistic to expect to be able to implement every use case with it. There are just too many different microcont...
- Sun Sep 27, 2020 10:19 am
- Forum: Flowcode V8
- Topic: USB Slave on PIC
- Replies: 7
- Views: 3460
Re: USB Slave on PIC
For an USB drive you need usb mass storage. It might be possible to implement that using usb slave, but I don’t think that will be trivial.
Check this message concerning the subject.
Check this message concerning the subject.
- Tue Sep 22, 2020 7:48 pm
- Forum: Bug Reports
- Topic: Signed/Unsigned int property
- Replies: 7
- Views: 4882
Re: Signed/Unsigned int property
Hi Martin,
That screenshot is in Flowcode, not on hardware... I agree it would be better to limit the size for values to 16 bit on display, but I am still curious what happens if you use this variable on hardware. My money is on it being 16 bit...
Best regards,
Jac
That screenshot is in Flowcode, not on hardware... I agree it would be better to limit the size for values to 16 bit on display, but I am still curious what happens if you use this variable on hardware. My money is on it being 16 bit...
Best regards,
Jac
- Mon Sep 21, 2020 7:26 pm
- Forum: Flowcode V8
- Topic: Return to the charging base robot
- Replies: 10
- Views: 4696
Re: Return to the charging base robot
RTK GPS requires correction data from either a second RTK GPS module at a fixed known location within 15 km of the rover or a (commercial) supplier of correction data. And even with correction data the antenna must have a clear view of the sky to get to cm precision. (No trees, buildings or other ob...
- Mon Sep 21, 2020 6:29 pm
- Forum: Bug Reports
- Topic: Signed/Unsigned int property
- Replies: 7
- Views: 4882
Re: Signed/Unsigned int property
Have you tested on hardware or in simulation?
- Sat Sep 05, 2020 6:06 pm
- Forum: Flowcode V8
- Topic: Semiduplex asynchronism serial 10bit
- Replies: 10
- Views: 3759
Re: Semiduplex asynchronism serial 10bit
Are you using the SendChar macro? This should send the 00. If you use SendString the 00 will be considered a string terminator and not transmitted.
- Fri Sep 04, 2020 8:13 am
- Forum: Flowcode V8
- Topic: Semiduplex asynchronism serial 10bit
- Replies: 10
- Views: 3759
Re: Semiduplex asynchronism serial 10bit
This is just a difficult way to describe 8n1, so you can use use the regular uart component with 8 bits, no parity and 1 stop bit.
- Wed Aug 26, 2020 12:51 pm
- Forum: Flowcode V8
- Topic: OLED with SPD0301 driver
- Replies: 17
- Views: 7981
Re: OLED with SPD0301 driver
Malloc/free are part of a library. Having them available is a luxury, not a given in my experience. Memory management functions use memory themselves in runtime overhead (ram use for the administration) and code overhead (flash). So small platforms usually don’t offer them. Check https://microchipde...
- Wed Aug 26, 2020 11:31 am
- Forum: Flowcode V8
- Topic: OLED with SPD0301 driver
- Replies: 17
- Views: 7981
Re: OLED with SPD0301 driver
New is not part of C. In plain C you use things like malloc/free, however these rely on a library that provides memory management which is not present in small controllers. (That memory management library would be required for new/delete as well)
- Sun Aug 23, 2020 12:58 pm
- Forum: Flowcode V8
- Topic: OLED with SPD0301 driver
- Replies: 17
- Views: 7981
Re: OLED with SPD0301 driver
Keep in mind the compiler needs to be able to allocate the entire array in continuous memory. That is easier for multiple smaller arrays...
There might be devices where the XC8 compiler can not allocate arrays > 128 bytes.
There might be devices where the XC8 compiler can not allocate arrays > 128 bytes.
- Sat Aug 22, 2020 3:56 pm
- Forum: General Programming
- Topic: 64Bit Variables
- Replies: 1
- Views: 3630
Re: 64Bit Variables
1. Please do not start a topic in Tips and Tricks for questions. Share your knowledge over there. 2. Flowcode does not implement 64 bit variables by itself. You might be able to use them in C code, depending on: 3. It helps if you specify which version of Flowcode you are using and what target chip ...
- Sat Aug 22, 2020 11:51 am
- Forum: Flowcode V8
- Topic: PIC Compiling issue
- Replies: 4
- Views: 2183
Re: PIC Compiling issue
Apart from Flowcode itself you need to install the compiler package(s) for the target controller(s). You seem to be missing the PIC 8 bit compiler. If you login to the Matrix website you can choose to download Flowcode. Just below the Flowcode download there is a ‘line’ Download Toolchains. You need...
- Mon Aug 17, 2020 5:22 pm
- Forum: General Programming
- Topic: 2d Arrays, Accessing and External LUT
- Replies: 5
- Views: 5137
Re: 2d Arrays, Accessing and External LUT
Last time I checked 32 bits were 4 bytes, not 8 bytes. (4 * 8 = 32)
- Sat Aug 15, 2020 8:54 am
- Forum: Flowcode V8
- Topic: Scroll Line instead of Display
- Replies: 3
- Views: 2006
Re: Scroll Line instead of Display
Sounds like you could just use the cursor positioning options and write the new data to the second display line. For other solutions Flowcode would have to buffer what you write to the display in ram which is a resource not all processors have a lot off. BTW, when rewriting, don’t forget to add spac...
- Mon Aug 10, 2020 2:07 pm
- Forum: General Programming
- Topic: bug in 12F1612.fcdx
- Replies: 2
- Views: 3209
Re: bug in 12F1612.fcdx
It helps if you tell us which Flowcode version you are using. (And use the right forum category for posting)
- Sat Jul 11, 2020 11:01 am
- Forum: General Programming
- Topic: Level Shifting questions
- Replies: 6
- Views: 6485
Re: Level Shifting questions
Why not use a controller that runs on 3v3 and forgo any level shifting?
- Thu Jun 18, 2020 3:35 pm
- Forum: Flowcode V8
- Topic: Script Syntax Error
- Replies: 6
- Views: 3593
Re: Script Syntax Error
Hi Steve,
Can the check for updates be changed to be done once at program startup and not every time I save a flowchart?
Best regards,
Jac
Can the check for updates be changed to be done once at program startup and not every time I save a flowchart?
Best regards,
Jac