Hello Dan
The only difference between the old CAN component and the new CAN2 component is that CAN2 accepts sending /masking /receiving of the extended CAN message identifiers as well as the standard indentifiers.
Search found 14581 matches
- Wed Sep 17, 2008 1:46 pm
- Forum: Components (Comms)
- Topic: CAN component
- Replies: 2
- Views: 3516
- Wed Sep 17, 2008 1:43 pm
- Forum: Bugs / Application Errors
- Topic: Error on PWM with new Version 3.4.7.48
- Replies: 5
- Views: 4464
Re: Error on PWM with new Version 3.4.7.48
Hello
Ok where did you find that piece of code. Im guessing that the BoostC library is missing a few definitions for that particular chip and adding those lines of code will allow the PWM registers to be addressed correctly.
Ok where did you find that piece of code. Im guessing that the BoostC library is missing a few definitions for that particular chip and adding those lines of code will allow the PWM registers to be addressed correctly.
- Wed Sep 17, 2008 10:37 am
- Forum: Flowcode V2 & V3
- Topic: Rally Computer
- Replies: 28
- Views: 23203
Re: Rally Computer
Hello Your LCD is a KS0108 type display. You should be able to use the KS0108 Beta Component to drive the display correctly. The pinout must just be changed around slightly. Use the pin connections that are defined at the top of the custom_code.c file to work out where pins are connected to. eg RS p...
- Wed Sep 17, 2008 10:27 am
- Forum: General Programming
- Topic: PPP problem - can't select correct port address
- Replies: 6
- Views: 5078
Re: PPP problem - can't select correct port address
Hello You should be able to make your new parrallel port emulate the base address 378 etc. You can do this by right clicking my computer, selecting properties, clicking the hardware tab and then selecting device manager. Once you have the device manager running scroll down to the ports section and o...
- Wed Sep 17, 2008 9:16 am
- Forum: General / Misc
- Topic: Keypad to Eeprom writing
- Replies: 2
- Views: 3381
Re: Keypad to Eeprom writing
Hello Tutorial 32 from the Flowcode V3/Examples folder might help you to create the basic program. Basically you would just need to create a while loop to run 4 times. Each time round the loop wait until a key has been pressed on the keypad, Once the key has been pressed save the keypress to the EEP...
- Wed Sep 17, 2008 9:09 am
- Forum: Bugs / Application Errors
- Topic: Error on PWM with new Version 3.4.7.48
- Replies: 5
- Views: 4464
Re: Error on PWM with new Version 3.4.7.48
Hello I have just tried the PWM component here using the latest version of FLowcode and 2 PWM channels are being shown. Please can you try replacing the 18F4680 definition file for your Flowcode by copying the attached file into your Flowcode V3/FCD directory. Let me know if this helps your situation.
- Tue Sep 16, 2008 3:37 pm
- Forum: Components (Other)
- Topic: 1st project issue/LED-LCD
- Replies: 46
- Views: 30358
Re: 1st project issue/LED-LCD
Hello Ok 255 is an 8-bit value which equals 8 logic 1s or an entire port. See conversions from decimal to binary. You can control the brightness by switching the output on and off at high speed. See my example for bit banged PWM. http://www.matrixmultimedia.com/Flowcode_Examples.php As for your sche...
- Tue Sep 16, 2008 9:26 am
- Forum: C and ASM Programming
- Topic: Memory allocation?
- Replies: 1
- Views: 3705
Re: Memory allocation?
Hello If you have enough free memory in your device then you could always define the array as a static size eg char data_array[4]; or static char data_array[4]; Some compilers do support the malloc function so you will need to find the correct compiler or library that supports the malloc statement. ...
- Tue Sep 16, 2008 9:21 am
- Forum: Components (Other)
- Topic: 1st project issue/LED-LCD
- Replies: 46
- Views: 30358
Re: 1st project issue/LED-LCD
Hello You are right about your LED flashing program that is the best way to get the device working correctly. 1) Set you clock speed in Flowcode - This sets the length of delays etc relative to the device clock. Chip -> Clock Speed -> Set to 4000000 2) Set your oscillator configuration in Flowcode -...
- Mon Sep 15, 2008 5:18 pm
- Forum: Flowcode V2 & V3
- Topic: Flowcode compiling error PIC12F675
- Replies: 4
- Views: 4043
Re: Flowcode compiling error PIC12F675
Hello Beejo It seems unlikly that you will have damaged your device by using the 270 Ohm resistor. We use a 220 ohm resistor here for all our E-Blocks to avoid damaging the microcontrollers. Aswell as this the microcontrollers are tough little devices and you will be pushed to acutally damage an I/O...
- Mon Sep 15, 2008 3:20 pm
- Forum: Components (Comms)
- Topic: RS-232 Send Variables
- Replies: 4
- Views: 5146
Re: RS-232 Send Variables
Hello Chris Create a macro to output the data you need. Eg create a macro with 6 send RS232 component macro icons. the first sends the data from variable 1 the second sends a comma The third sends the data from variable 2 the fourth sends a comma ... This way you can simply update the global variabl...
- Mon Sep 15, 2008 11:44 am
- Forum: Suggestions
- Topic: Flowcode for AVR no examples?
- Replies: 2
- Views: 8345
Re: Flowcode for AVR no examples?
Hello
Look inside your Flowcode_AVR folder. Normally C:/Program Files/Matrix Multimedia/Flowcode_AVR. You will find a folder named examples containing 34 example files.
Look inside your Flowcode_AVR folder. Normally C:/Program Files/Matrix Multimedia/Flowcode_AVR. You will find a folder named examples containing 34 example files.
- Mon Sep 15, 2008 11:02 am
- Forum: Flowcode V2 & V3
- Topic: PWM I want know how to use
- Replies: 3
- Views: 3696
Re: PWM I want know how to use
Hello Please post in the appropriate places on the forum, Also please do not repeat the same posts around the forum it just makes more work for me. The PWM component directly controls the I/O pins referred to as CCP1 and CCP2 (if you have a device with 2 channel PWM) on the chip diagram. No input or...
- Mon Sep 15, 2008 9:27 am
- Forum: Flowcode V2 & V3
- Topic: How to drive DC motors using PWM
- Replies: 1
- Views: 2491
Re: How to drive DC motors using PWM
Hello
Please refer to the motor control article.
http://www.matrixmultimedia.com/mmforum ... =26&t=4849
Please refer to the motor control article.
http://www.matrixmultimedia.com/mmforum ... =26&t=4849
- Fri Sep 12, 2008 9:32 am
- Forum: Flowcode V2 & V3
- Topic: RS485 (DMX) PWM problem
- Replies: 21
- Views: 11595
Re: RS485 (DMX) PWM problem
Hello Wayne Firstly the program is written in assembler so it is 100% efficient if the programmer is good at what he's doing. In my opinion assembler is not the way forward. Secondly he uses a interrupt to trigger the RS232 read function. Maybe this would help to stop missing the incoming data bytes...
- Fri Sep 12, 2008 9:18 am
- Forum: Flowcode V2 & V3
- Topic: send decimal out to rs232 port
- Replies: 2
- Views: 2596
Re: send decimal out to rs232 port
Hello Wayne
Please refer to the article I created in the Knowledge Exchange section of the forum entitled Communicating with a PC.
http://www.matrixmultimedia.com/mmforum ... m.php?f=26
Please refer to the article I created in the Knowledge Exchange section of the forum entitled Communicating with a PC.
http://www.matrixmultimedia.com/mmforum ... m.php?f=26
- Thu Sep 11, 2008 4:36 pm
- Forum: Flowcode V2 & V3
- Topic: Flowcode compiling error PIC12F675
- Replies: 4
- Views: 4043
Re: Flowcode compiling error PIC12F675
Hello The best way to check if your PIC is working is to create a very simple program to toggle an LED inside an infinite loop. Make sure your Oscillator settings are correct in the Chip -> Configuration window, Make sure your speed setting is correct in the Chip -> Clock speed window and make sure ...
- Thu Sep 11, 2008 1:31 pm
- Forum: Flowcode V2 & V3
- Topic: Rally Computer
- Replies: 28
- Views: 23203
Re: Rally Computer
Hello
What is the type of gLCD that you are using. If you have a link to a datasheet etc then that would be handy.
What is the type of gLCD that you are using. If you have a link to a datasheet etc then that would be handy.
- Thu Sep 11, 2008 1:17 pm
- Forum: Flowcode V2 & V3
- Topic: RS485 (DMX) PWM problem
- Replies: 21
- Views: 11595
Re: RS485 (DMX) PWM problem
Hello Wayne Thats a tricky one. Does changing the interrupt prescalar have any effect on your ability to detect the start of the string. Maybe also try adjusting the timeout on your RS232 recieve function to see if this helps. It may be that to do this 100% correctly you may have to use a chip with ...
- Thu Sep 11, 2008 1:12 pm
- Forum: General / Misc
- Topic: FlowCode interrupts for RB0
- Replies: 4
- Views: 9891
Re: FlowCode interrupts for RB0
Hello An RB0 interrupt in Flowcode occurs when you switch the logic level from pin RB0 from low to high or visa versa depending on your interrupt enable properties. To switch the RB0 input from high to low you are going to need an external pull up or pull down resistor. Eg here is a typical circuit ...
- Wed Sep 10, 2008 4:12 pm
- Forum: Flowcode V2 & V3
- Topic: RS485 (DMX) PWM problem
- Replies: 21
- Views: 11595
Re: RS485 (DMX) PWM problem
Hello
In your timer enable icon you need to change the properties to count pulses on the CLKI rather then the T0CKI Input. This should get the PWM interrupt working for you.
In your timer enable icon you need to change the properties to count pulses on the CLKI rather then the T0CKI Input. This should get the PWM interrupt working for you.
- Wed Sep 10, 2008 4:08 pm
- Forum: Formula Flowcode
- Topic: usb driver for vista 32/ 64 system
- Replies: 2
- Views: 6629
Re: usb driver for vista 32/ 64 system
Hello Danny Firstly to remove the USB write failed problem please follow this support FAQ. http://www.matrixmultimedia.com/support/viewtopic.php?t=508 With the write failed error, the latest version of the programming tool will remove this problem. (Note the problem is just a warning it does not aff...
- Tue Sep 09, 2008 10:22 am
- Forum: Flowcode V2 & V3
- Topic: Fading LED
- Replies: 21
- Views: 14820
Re: Fading LED
Hello
Check the settings in Flowcode under Chip -> Configure. you will need to change the oscillator type to XTAL (simple mode) or HS (expert mode).
1K resistor should be fine for your MCLR pin. Ive also had problems with non ceramic caps on the oscillator in the past.
Check the settings in Flowcode under Chip -> Configure. you will need to change the oscillator type to XTAL (simple mode) or HS (expert mode).
1K resistor should be fine for your MCLR pin. Ive also had problems with non ceramic caps on the oscillator in the past.
- Mon Sep 08, 2008 12:38 pm
- Forum: Flowcode V2 & V3
- Topic: Fading LED
- Replies: 21
- Views: 14820
Re: Fading LED
Hello It would actually be fairly hard to implement what you are suggesting. Basically the program would have to scan through all the delay values for that particular step, find the shortest delay, perform the tasks that all start at once, perform the delay, perform the specific task and then delay ...
- Fri Sep 05, 2008 3:16 pm
- Forum: Programming Tips & Tricks
- Topic: Streaming WAV Files Using MMC/SD
- Replies: 3
- Views: 10143
Streaming WAV Files Using MMC/SD
http://www.matrixmultimedia.com/images/Article_NoStudent.png MP3 players are very popular in today's technology market and come in many shapes and sizes. Using the MMC/SD card reader E-block EB037 it is possible to incorporate files straight into the microcontroller devices ready for streaming out ...