Search found 7716 matches
- Wed Feb 09, 2022 12:28 pm
- Forum: 8-Bit PIC
- Topic: DECIMAL POINT HEADACHE
- Replies: 31
- Views: 15262
Re: DECIMAL POINT HEADACHE
What I do is take a screenshot of the area I want, using a free program called Greenshot. When you take a screenshot, after selecting the area you wish to capture, a popup appears asking how you want the screenshot saved. Save capture.png I save to paint. I then use paint to save as png. You could o...
- Wed Feb 09, 2022 11:54 am
- Forum: 8-Bit PIC
- Topic: DECIMAL POINT HEADACHE
- Replies: 31
- Views: 15262
Re: DECIMAL POINT HEADACHE
Hi Bob, that's excellent. Thanks for letting up know. could i ask how you inserted the png pic please Select the Attachments tab, then Add files button to add the image. You can place the image anywhere within the post by selecting where you want the image to go. Select Place inline for the image yo...
- Wed Feb 09, 2022 10:46 am
- Forum: 8-Bit PIC
- Topic: DECIMAL POINT HEADACHE
- Replies: 31
- Views: 15262
Re: DECIMAL POINT HEADACHE
Whoops, sorry.
The divider is to the power of
No divide is 10 to the power of 0 = 1.
I used 10 to the power 1 = 10
To fix that just change the 1 to 0:
The divider is to the power of
No divide is 10 to the power of 0 = 1.
I used 10 to the power 1 = 10
To fix that just change the 1 to 0:
- Tue Feb 08, 2022 11:40 pm
- Forum: 8-Bit PIC
- Topic: DECIMAL POINT HEADACHE
- Replies: 31
- Views: 15262
Re: DECIMAL POINT HEADACHE
Hi Bob.
You're welcome and thank you for the nice comments.
The flowchart is a demonstration of how I would divide down depending on the result.
I have not checked the rest of the flowchart, nor have I tested o hardware.
If you find it does not work as expected, then I will help you further.
You're welcome and thank you for the nice comments.
The flowchart is a demonstration of how I would divide down depending on the result.
I have not checked the rest of the flowchart, nor have I tested o hardware.
If you find it does not work as expected, then I will help you further.
- Tue Feb 08, 2022 6:56 pm
- Forum: 8-Bit PIC
- Topic: DECIMAL POINT HEADACHE
- Replies: 31
- Views: 15262
Re: DECIMAL POINT HEADACHE
Hi Bob.
I have attached the way I would handle the dividing.
With the attached flowchart,
If R = 123.456 then the result on the display should be 123.4Ω
If R = 123456.789 then the result on the display should be 123.4KΩ
If R is 123456789.01 then the result on the display should be 123.4MΩ
I have attached the way I would handle the dividing.
With the attached flowchart,
If R = 123.456 then the result on the display should be 123.4Ω
If R = 123456.789 then the result on the display should be 123.4KΩ
If R is 123456789.01 then the result on the display should be 123.4MΩ
- Thu Feb 03, 2022 1:30 pm
- Forum: Flowcode V8
- Topic: Problems with BMP280
- Replies: 4
- Views: 2396
Re: Problems with BMP280
Hi Bruno. The update has been pushed to the system, so hopefully all is back to normal. I have a BMP280 and a BME280 Although for the BME280, I added a flowchart example here that shows how to calculate the altitude ft & m from the pressure reading if you are interested? It can easily be changed to ...
- Thu Feb 03, 2022 11:55 am
- Forum: Flowcode V8
- Topic: Problems with BMP280
- Replies: 4
- Views: 2396
Re: Problems with BMP280
Hi Bruno.
Sorry that was my fault.
The correct version will be available as the latest version, as soon as possible.
Sorry that was my fault.
The correct version will be available as the latest version, as soon as possible.
- Wed Feb 02, 2022 10:35 pm
- Forum: General Programming
- Topic: Conversion of flowcode to Arduino.
- Replies: 2
- Views: 9819
Re: Conversion of flowcode to Arduino.
Hi. As you are using V9, can you please register for V9 forums from this site I'm sorry there is nothing you are able to do to generate the C or hex file, without the required component packs in place. There are free components that are listed here Have you started the 30day free trial yet? If not, ...
- Sat Jan 29, 2022 2:44 pm
- Forum: General Programming
- Topic: #Define
- Replies: 8
- Views: 8444
Re: #Define
Hi Miguel.
You're welcome.
I'm happy I have helped you.
You're welcome.
I'm happy I have helped you.
- Sat Jan 29, 2022 2:40 pm
- Forum: General Programming
- Topic: Programming a servo motor to stop at specific points
- Replies: 1
- Views: 3421
Re: Programming a servo motor to stop at specific points
Hi, as servos have all their electronics built-in, you don't require a L298 controller, which is for DC motors. Unless you are creating your own servo with DC motors? In that case, you will need some form for positional feedback from the motor. If it is a servo motor you are using then the signal pu...
- Fri Jan 28, 2022 10:20 am
- Forum: Flowcode V8
- Topic: UART Component - USB-UART FT232RL hardware
- Replies: 26
- Views: 8632
Re: UART Component - USB-UART FT232RL hardware
Hi Rod. I have tried your flowchart with EPIO40P which also uses 33EP256MU806 and it's working as expected. With analogue i/p connected to the + supply, my logic Analyser showed: UART 33EP256MU806.png What connection have you got the analogue voltage connected to on your BL0032 & can you measure the...
- Thu Jan 27, 2022 10:11 am
- Forum: Flowcode V8
- Topic: Analog_Pot_Uart
- Replies: 4
- Views: 2045
Re: Analog_Pot_Uart
Hi Rod, For your flowchart to do what you want, It looks like the modulus is the way to go since you have not got any other modulus functions in your flowchart, except for the timer interrupt. If you did have modulus functions in other user macros, including main, then to avoid corruption, an altern...
- Wed Jan 26, 2022 3:12 pm
- Forum: General Programming
- Topic: #Define
- Replies: 8
- Views: 8444
Re: #Define
Hi Miguel. Hover over the lower properties to show a drop-down. Select Add new Panel Properties.png The Cosmetic name will be TEST You can have spaces within the cosmetic name. The Property type you can select Single digital pin. The Property variable can be something like PIC_PORTB_RB2. Leave Visib...
- Tue Jan 25, 2022 7:22 pm
- Forum: Flowcode V8
- Topic: Analog_Pot_Uart
- Replies: 4
- Views: 2045
Re: Analog_Pot_Uart
Hi. I had a look at your flowchart. The interrupt component must be called only once, so it's best to place it before the main loop. That is probably the issue of why you are just getting 0? I would not recommend placing the Modulus function within an interrupt. It better to use interrupt_cntrl = in...
- Thu Jan 20, 2022 1:57 pm
- Forum: General Programming
- Topic: How to do Pwm off and on in flowcode??
- Replies: 9
- Views: 7189
Re: How to do Pwm off and on in flowcode??
Thank you, Bob for the lovely comments. I really appreciate them. I do try and help as much as I can Thank you, Steve, that means a lot to me as well do all the lovely comments been made. You are right, of course, but also a must to be included are the rest of matrix staff. Without them, Flowcode wo...
- Fri Jan 14, 2022 1:12 pm
- Forum: AVR & Arduino
- Topic: LCD 16x2 don't works with Arduino UNO in Flowcode 7
- Replies: 10
- Views: 7593
Re: LCD 16x2 don't works with Arduino UNO in Flowcode 7
Can you post your flowchart, please?
If I was you, I would make sure all the connections are sound and there is continuity as I have had O/C DuPont connections before.
If connections are all ok then what is the reply to
If I was you, I would make sure all the connections are sound and there is continuity as I have had O/C DuPont connections before.
If connections are all ok then what is the reply to
- Thu Jan 13, 2022 3:59 pm
- Forum: AVR & Arduino
- Topic: LCD 16x2 don't works with Arduino UNO in Flowcode 7
- Replies: 10
- Views: 7593
Re: LCD 16x2 don't works with Arduino UNO in Flowcode 7
Pin 7 or 8 are not available with the properties of the display ? pin7 is D7 and Pin8 is B0 as in the table I posted. Looking at your wiring diagram you should have: LCD pin connections.png As the diagram is not clear, can you state what pin of the Arduino (Digital 0 to 13)each connection of the LC...
- Thu Jan 13, 2022 12:15 pm
- Forum: AVR & Arduino
- Topic: LCD 16x2 don't works with Arduino UNO in Flowcode 7
- Replies: 10
- Views: 7593
Re: LCD 16x2 don't works with Arduino UNO in Flowcode 7
Hi Martin. To me it looks like the wiring does not match the pins set within LED properties. Looking at your wiring diagram image, which is not very clear, you have the following: RS > D7 EN > B0 D0 > B1 D1 > B2 D3 > B3 D4 > B4 Within LCD properties It looks like you have EN going to D4 etc. Uno Dig...
- Wed Jan 12, 2022 10:55 am
- Forum: Flowcode V8
- Topic: Decision with floating variable
- Replies: 4
- Views: 2666
Re: Decision with floating variable
Hi.
Can you post your project file (.fcfx extension), so we can have a look for you?
Can you post your project file (.fcfx extension), so we can have a look for you?
- Sun Jan 09, 2022 3:34 pm
- Forum: Bug Reports
- Topic: I2C master and slave do not allow SDA/SCL setting
- Replies: 1
- Views: 2471
Re: I2C master and slave do not allow SDA/SCL setting
Hi. Thank you for letting us know I have fixed it so you should be able to now select the pins for I2C master and slave. Until the update is pushed, I have attached it so you can test sooner rather than later if you like to? In file explorer address bar, paste this: C:\ProgramData\MatrixTSL\Flowcode...
- Sat Jan 08, 2022 11:34 pm
- Forum: Flowcode V6
- Topic: UART with two differnt baudrates
- Replies: 8
- Views: 7612
Re: UART with two differnt baudrates
Note that i want to use software defined pins and not the default hardware pins. Does this make the difference and the program is not working at 1200? Yes, on V8 it does. Getting the baud to work at the correct rate for software on all targets is very time-consuming. For example, my target device i...
- Sat Jan 08, 2022 6:44 pm
- Forum: Flowcode V6
- Topic: UART with two differnt baudrates
- Replies: 8
- Views: 7612
Re: UART with two differnt baudrates
You don't need code for 1200 as that is not a custom rate, you just choose 1200 within UART properties.
Just make sure the timings are correct with a one-sec flasher test first.
Just make sure the timings are correct with a one-sec flasher test first.
- Sat Jan 08, 2022 3:09 pm
- Forum: 8-Bit PIC
- Topic: MEASURE RESISTANCE
- Replies: 4
- Views: 2793
Re: MEASURE RESISTANCE
Hi Bob.
Jumper wires will affect the readings because of the pin to breadboard strip resistance.
This is more so with smaller round pins than the larger square pins that are very common.
I have seen that effect when using an Analogue temperature sensor, smaller pin jumper wires and Sparkfun RedBoard.
Jumper wires will affect the readings because of the pin to breadboard strip resistance.
This is more so with smaller round pins than the larger square pins that are very common.
I have seen that effect when using an Analogue temperature sensor, smaller pin jumper wires and Sparkfun RedBoard.
- Fri Jan 07, 2022 8:44 am
- Forum: User Components
- Topic: EBM015 Magnetometer
- Replies: 8
- Views: 4901
Re: EBM015 Magnetometer
Hi.
Can you post your flowchart and give us more details of the issue, please?
E.g not compiling, display staying on 0 etc.
Can you post your flowchart and give us more details of the issue, please?
E.g not compiling, display staying on 0 etc.
- Thu Jan 06, 2022 11:34 am
- Forum: General Programming
- Topic: How to do Pwm off and on in flowcode??
- Replies: 9
- Views: 7189
Re: How to do Pwm off and on in flowcode??
Hi Enrique.
Happy new year & thank you.
It's really nice what you said, I appreciate it.
Happy new year & thank you.
It's really nice what you said, I appreciate it.
Very good, well done.