Whilst I am obviously not S or B the following should still work
RS232_IN from RS Component
String = String + RS232_IN in string Icon
Seems to work well.
Search found 209 matches
- Mon Mar 19, 2007 2:34 pm
- Forum: Flowcode V2 & V3
- Topic: STRINGS HELP
- Replies: 2
- Views: 3216
- Mon Mar 19, 2007 11:42 am
- Forum: Flowcode V2 & V3
- Topic: Using Boost-C I2C commands in Flowcode
- Replies: 2
- Views: 3535
Using Boost-C I2C commands in Flowcode
Hi, The I2C BoostC commands appear to be as follows : void i2c_START(void) // Generates the I2C Bus Start Condition void i2c_RESTART(void) // Generates the I2C Bus Restart Condition void i2c_STOP(void) // Generates the I2C Bus Stop Condition unsigned char i2c_WRITE(unsigned char i2c_data) // Generat...
- Thu Mar 15, 2007 4:02 pm
- Forum: Flowcode V2 & V3
- Topic: I2C Component
- Replies: 2
- Views: 3501
I2C Component
Hi, What is the current timescale on the I2C component? The I2C commands in Boost-C do not seem clearly documented, you almost need to be good at C and know the protocol well to figure out what all the documentation means. If the component is a while off I will post on the C Forum and ask what the c...
- Wed Mar 14, 2007 1:41 pm
- Forum: Flowcode V2 & V3
- Topic: How can a String variable be sent using the RS232 Component?
- Replies: 3
- Views: 4176
- Wed Mar 14, 2007 10:44 am
- Forum: Flowcode V2 & V3
- Topic: How can a String variable be sent using the RS232 Component?
- Replies: 3
- Views: 4176
How can a String variable be sent using the RS232 Component?
I want to send a String variable via the RS232 Component, Sending "Hello" as a predefined string works OK, but trying to send the variable String where string = "Hello" is not accepted by the component. I can hive off individiual characters from the string using characterstring = mid$(string,X,1) an...
- Tue Mar 13, 2007 4:22 pm
- Forum: Flowcode V2 & V3
- Topic: In circuit flash programming
- Replies: 2
- Views: 3656
- Thu Mar 08, 2007 10:51 pm
- Forum: Flowcode V2 & V3
- Topic: RS-232 Flowcode Example?
- Replies: 5
- Views: 8818
Hi, I do not know your board, but since you are using Flowcode and Hyperterminal then you should have a reliable starting point. I suggest 1) set up a loop in Flowcode continously sending an ASCII character every 100ms. 2) Open hyperterminal with the correct board rate, parity etc. Watch for input. ...
- Wed Feb 28, 2007 3:38 pm
- Forum: Flowcode V2 & V3
- Topic: PWM component is almost ready
- Replies: 16
- Views: 13433
- Wed Feb 28, 2007 3:35 pm
- Forum: Flowcode V2 & V3
- Topic: EEPROM AND RAM
- Replies: 2
- Views: 3243
- Fri Feb 16, 2007 12:44 pm
- Forum: E-blocks
- Topic: LCD Screen Not lighting
- Replies: 12
- Views: 13205
Eddie, Sorry it is not clear to me if you are using the LCD E-block. If you are not then a problem can be that the contrast setting for the LCD may need adjusting. It is possible for an LCD to be working perfectly well but you see nothing unless contrast is correct, do this by using a potentiometer ...
- Thu Feb 15, 2007 1:17 pm
- Forum: Flowcode V2 & V3
- Topic: PIC 16F876 and 877 Upgrades from Microchip
- Replies: 5
- Views: 5418
- Thu Feb 15, 2007 11:11 am
- Forum: Flowcode V2 & V3
- Topic: PIC 16F876 and 877 Upgrades from Microchip
- Replies: 5
- Views: 5418
Steve, I am keen to get going with the 16F886 and I'm sure others may also be. However, without PPP support it will be hard to tell if any issues arise because of the 3rd party programmer/board or from Flowcode. but we have not fully tested them because we don't have any samples yet. I now have some...
- Thu Feb 15, 2007 10:57 am
- Forum: Flowcode V2 & V3
- Topic: EEPROM Component now not functioning for me
- Replies: 1
- Views: 2660
EEPROM Component now not functioning for me
Hi Steve/Benj, I have been having a problem with the EEROM component not writing and when reading echoing back the address as the data read. I have tried a test programme and shown that the component/chip/circuit does work and the programme which has the problem worked fine until recent revisions (n...
- Tue Feb 13, 2007 5:59 pm
- Forum: E-blocks
- Topic: New E-Blocks for 2006
- Replies: 5
- Views: 9223
Steve, A great selection of boards. My interest is mainly in using a board to prove a concept, so the clearer the documentation can be made the better, as the ideal will simply be to transpose an E-board circuit and component(s) to a prototype board for further development. On this score an I2C boar...
- Mon Feb 12, 2007 6:48 pm
- Forum: Flowcode V2 & V3
- Topic: Problem with 877
- Replies: 3
- Views: 3964
Billm, All seems stange to me. However, self erasure of memory should not normally be possible, particularly if you are not using low voltage programming or any special on chip self programming code. I suggest you check the clock circuit, put an oscilloscope or frequency meter (such as on a multimet...
- Mon Feb 12, 2007 1:16 pm
- Forum: Flowcode V2 & V3
- Topic: RS232 Parity Bits
- Replies: 14
- Views: 15722
Calculating Parity
As Benj says calculating parity needs some though. However, the method is directed to binary math and not decimal math. Hence, when, translated into binary manipulation the whole thing is more simple. Hence, try this link : http://www.piclist.com/techref/microchip/math/bit/parity.htm Hope this helps...
- Mon Feb 12, 2007 1:06 pm
- Forum: Flowcode V2 & V3
- Topic: MATH problem
- Replies: 7
- Views: 7329
gharryh I would personally consider this as a math problem rather than a Flowcode capability issue. You generate a number *36 and divide it by a number *1000. It makes more sense to combine these constants into a single divide by 28. This should then sit nicely within the +/- 32000 that Flowcode pro...
- Thu Feb 08, 2007 7:17 pm
- Forum: Flowcode V2 & V3
- Topic: RS232 Parity Bits
- Replies: 14
- Views: 15722
Hi Pinto, Whilst the PIC chips can be used to generate parity bits Flowcode does not. Flowcode outputs a start bit, an 8 bit value and a stop bit, but for reception purposes one or two stop bits make little difference. If you need parity then you will need to generate a C-code routine to calculate t...
- Tue Feb 06, 2007 7:34 pm
- Forum: E-blocks
- Topic: Simple Oscillator
- Replies: 6
- Views: 7482
- Tue Feb 06, 2007 7:29 pm
- Forum: Flowcode V2 & V3
- Topic: PIC vs. AVR
- Replies: 2
- Views: 3875
- Tue Feb 06, 2007 7:27 pm
- Forum: Flowcode V2 & V3
- Topic: Frequency intervals
- Replies: 3
- Views: 4507
Yes, Ben's approach is neater. Another variation would be to count clock inputs on Timer 1 input pin and use Timer 0 to interrupt and read Timer 1 and reset it. That way the programme would get a direct count of clock cycles per time interval, correctly selecting Timer 0 may even give a direct readi...
- Tue Feb 06, 2007 7:19 pm
- Forum: Flowcode V2 & V3
- Topic: Interrupt on TMR0
- Replies: 1
- Views: 2811
Pinto, There is not enough information for me to help much. However, bear in mind that RS232 comms are not instantaneous, particularly if they are waiting for a handshake routine (is there hardware handshaking used?). Also 1:128 with a low speed clock could itself give a low send rate (though 1Hz is...
- Mon Feb 05, 2007 3:13 pm
- Forum: Components (Other)
- Topic: 12x2 LCD Character Displays , HD48770 compatible?
- Replies: 9
- Views: 9535
- Mon Feb 05, 2007 3:05 pm
- Forum: Flowcode V2 & V3
- Topic: Frequency intervals
- Replies: 3
- Views: 4507
You may be able to do this by polling a single input pin. Check the pin (while pin is low) and when it changes start a counter, ([while pin is high] holding [count = count + 1]) How far the counter has got for a single high cycle (for a 1:1 duty cycle signal) will be a measure of its frequency. (use...
- Mon Feb 05, 2007 2:51 pm
- Forum: Flowcode V2 & V3
- Topic: Switches
- Replies: 5
- Views: 4180
Another aspect of the point you make is that it would be useful to use port pins for two different electrical functions, initial switch input and then for something else later. One way is to use one port pin as the '5v' or Vcc to the switches (single throw only) by setting as a 'high' output for one...