Search found 33 matches

by nils
Wed Feb 09, 2011 3:37 pm
Forum: C and ASM Programming
Topic: Incorrect interrupt frequency shown in FC 4 AVR for AVR chip
Replies: 1
Views: 4609

Incorrect interrupt frequency shown in FC 4 AVR for AVR chip

Hello, As I was going through interrupts, I noticed that the settings for TMR0 Overflow interrupts are not showing any difference when going through prescaler values. http://recycle-your-animals.net/misc/fc4.png Is this a bug, as I remember this working correct in FC v3 for the AVR. Kind regards, Nils
by nils
Thu Jan 20, 2011 3:04 pm
Forum: C and ASM Programming
Topic: EB060 RC5 infrared board - Flowcode AVR v4
Replies: 2
Views: 5335

EB060 RC5 infrared board - Flowcode AVR v4

Hello,

Would you have a sample Flowcode v4 AVR program for this E-Block comparable to the one you have for the PIC micro?
This would be needed to jump start a project on IR control or a remote fan.
Thank you.

Kind regards,
Nils
by nils
Wed Nov 10, 2010 7:06 pm
Forum: E-blocks
Topic: EB024 Bluetooth board - no sign of life
Replies: 3
Views: 3883

Re: EB024 Bluetooth board - no sign of life

Hello,

I am sorry to bother you again, but as I need to work with bluetooth communications in a project, I would like to resolve my problem.

Thanks,
Nils
by nils
Fri Nov 05, 2010 8:58 am
Forum: E-blocks
Topic: EB024 Bluetooth board - no sign of life
Replies: 3
Views: 3883

EB024 Bluetooth board - no sign of life

Hello there, I am trying to revive a EB024 Bluetooth board, which seems to elude any attempts using it. We worked with the bluetooth board and an AVR programmer for some days and returned one morning back to the lab finding it not working at all. The use case was pretty simple: - setting it up as di...
by nils
Sat Jun 07, 2008 12:30 pm
Forum: Components (Other)
Topic: Custom Component
Replies: 3
Views: 4600

Re: Custom Component

hi I scripted a nice Perl script which takes care of all the settings you usually would have had to do by yourself. and there is also a small description of what is going on in this file with all the Macro* definitions. take a look in my sig and go to the Custom_Code. c help needed link. there you'l...
by nils
Thu Apr 24, 2008 5:58 pm
Forum: Flowcode V2 & V3
Topic: array access in C code
Replies: 4
Views: 7986

Re: array access in C code

ok, here it comes. after I took a look in some FAQ' about AVR gcc I found the answer I was looking for. I have no idea why it doesn't work the other way round. // this include is needed, to get access to the program functions // and special keywords #include <avr/pgmspace.h> // table for sine wave o...
by nils
Wed Apr 23, 2008 11:34 am
Forum: Flowcode V2 & V3
Topic: array access in C code
Replies: 4
Views: 7986

Re: array access in C code

yes, I already came across this pitfall when I began using C code ;) I am not simulating now and working with the actual hardware bits: AVR programmer and LCD E-Block. I do have really now clue what is going on with arrays implemented in the Custom Component, so I tried to do the same thing without ...
by nils
Wed Apr 23, 2008 9:57 am
Forum: Flowcode V2 & V3
Topic: array access in C code
Replies: 4
Views: 7986

Re: array access in C code

hi again I just wrote a very small C program to see what was going on, because I couldn't get it running with the microcontroller. first I have to achknowledge, that I should have set the variables to both unsigned char to avoid any confusion with signed values. changing this, the output on my compu...
by nils
Wed Apr 23, 2008 9:17 am
Forum: Flowcode V2 & V3
Topic: array access in C code
Replies: 4
Views: 7986

array access in C code

Hello I am using the AVR programmer with an Atmega32 and the LCD E-Block. Then I use the Custom Component to implement a lookup table called aSineWave inside the GetDefine dummies. In the Custom Component function TestWave I try to access this array, but I do not get anywhere. I tried to print it ou...
by nils
Thu Apr 17, 2008 9:41 am
Forum: Flowcode V2 & V3
Topic: site licence question
Replies: 4
Views: 5209

Re: site licence question

hello steve

thank you for the insight. so it is possible, not in the way I thought, but this is fine with me.

cheers,
nils
by nils
Thu Apr 17, 2008 9:18 am
Forum: Flowcode V2 & V3
Topic: site licence question
Replies: 4
Views: 5209

site licence question

Hello My question is about the site licence you offer for Flowcode. As far as I understand, you are then allowed to install it on as many computers you want at e.g. in the University, if this is the licence's owner. But is it ok then to give the students, who attend a lab in microcontroller programm...
by nils
Sat Apr 05, 2008 2:48 pm
Forum: Flowcode V2 & V3
Topic: high quality graphical output of flowcharts - HowTo
Replies: 1
Views: 3378

high quality graphical output of flowcharts - HowTo

Hi there

as I already suggested a vector based output of the flowcharts for Flowcode, I came up with a solution on my own which I want to share with you.
So here my small howto to get a scalable flowchart for everyone.

again have fun with it, comments are welcome.
nils
by nils
Sat Mar 29, 2008 8:52 pm
Forum: Suggestions
Topic: Save image: vector formats / resizable blocks, show code
Replies: 0
Views: 3028

Save image: vector formats / resizable blocks, show code

Hi I like the idea of exporting the flowcharts as images, but it would be really really nice if there were a vector based output for these i.e. SVG, PNG, PDF, EPS or PS. Why? Because then scaling wouldn't be tied to loss of quality but only in readability of the small font when scaling down. The nex...
by nils
Mon Mar 10, 2008 3:43 pm
Forum: Flowcode V2 & V3
Topic: Fuse Programming
Replies: 5
Views: 5793

Re: Fuse Programming

I thought about something like manufacture default setting.
It just is only confusing for the first time you notice that a second is not a second and wonder why...

anyway, thanks for clearing that up :)

cheers,
nils
by nils
Sun Mar 09, 2008 7:28 pm
Forum: C and ASM Programming
Topic: how do i go about connecting usb bluetooth to PIC ?
Replies: 7
Views: 9830

Re: how do i go about connecting usb bluetooth to PIC ?

Hi even if I hijack this thread a bit, but is there a description of how to set up the bluetooth E-block module for an AVR device ? and if not, is there a short description of which port it has to be connected to. my best guess is Port D at an Atmega32 because of the USART connection. the purpose is...
by nils
Sun Mar 09, 2008 4:20 pm
Forum: Flowcode V2 & V3
Topic: Anyone using pre-XP Windows?
Replies: 9
Views: 6509

Re: Anyone using pre-XP Windows?

Hi Peter Flowcode should work as soon as you registered the Components, either by - batch file - or by simply running the installer inside Wine. the latter worked for me fine in Wine 0.9.55 and with Flowcode AVR. the only problem left is getting the USB programmer to work and that seems impossible t...
by nils
Fri Mar 07, 2008 9:34 pm
Forum: Flowcode V2 & V3
Topic: Fuse Programming
Replies: 5
Views: 5793

Re: Fuse Programming

Hi I noticed, that the Atmel Atmega32 that is shipped with the AVR programmer block is not set to the external crystal, but instead to the internal RC clock of 8 MHz. I know this has been resolved by editing the fuse bits, but right now there is no easy way to access these bits inside of Flowcode, o...
by nils
Tue Mar 04, 2008 5:24 pm
Forum: Components (Other)
Topic: Custom_Code.c coding help:Perl script
Replies: 8
Views: 12288

Re: Custom_Code.c coding help:Perl script

Hi there

new updated version of the documentation:
- changed flowchart
- added a short description how to invoke the script in Win/Lin/Uni/Mac environments

have fun with it
nils
by nils
Sat Feb 23, 2008 10:55 pm
Forum: Flowcode V2 & V3
Topic: More wish list for V3/V4
Replies: 7
Views: 5318

Re: More wish list for V3/V4

hi I enjoy programming with flowcode, but I really really miss more shortcuts/hotkeys I know that clicking buttons is quite easy and intuitive, but sometimes I want to upload the code to the microcontroller with a nice shortcut, like you did for the whole "Run"-menu. or make it as opt-in in a prefer...
by nils
Sat Feb 23, 2008 2:48 pm
Forum: Components (Other)
Topic: Custom_Code.c coding help:Perl script
Replies: 8
Views: 12288

Re: Custom_Code.c coding help:Perl script

version 1.2 changed recognition of functions, so that ugly things like this one void Test(char Foo, short Bar){ugly code; do not try to do so;} will result in void Test(char Foo, short Bar){ /*Macro_Test_Start*/ ugly code; do not try to do so; /*Macro_Test_End*/ } and now time stamps of the backups ...
by nils
Sat Feb 23, 2008 10:49 am
Forum: Components (Other)
Topic: pwm examples needed
Replies: 43
Views: 65695

Re: pwm examples needed

Hi I played also around with PWM but needed mopre control over it, so I chose to implement it by myself in the Custom Component as functions that I can call then by the Component Macro inside Flowcode. the problem is, that as soon as you use C code in Flowcode it does not simulate right anymore, but...
by nils
Fri Feb 22, 2008 10:13 pm
Forum: Components (Other)
Topic: Custom_Code.c coding help:Perl script
Replies: 8
Views: 12288

Re: Custom_Code.c coding help:Perl script

version 1.1b_2 hi there this evening I tweaked a bit the code for supporting different styles of braces, as I know that you folks of MM do it another way as I do, and maybe others out there too. now following things are possible: void something1(){ some code; more code; } void something2() { some co...
by nils
Wed Feb 13, 2008 5:35 pm
Forum: Components (Other)
Topic: Custom_Code.c coding help:Perl script
Replies: 8
Views: 12288

Re: Custom_Code.c coding help:Perl script

so if anyone is interested in what my script is doing (in a brief explanation + flowchart), I wrote up a little LaTeX document to introduce my script and the "Macro" definitions I am altering/generating with it. hope it helps people that were a bit helpless like me seeing the Custom_Code.c file for ...
by nils
Wed Feb 13, 2008 5:34 pm
Forum: Components (Other)
Topic: Custom_Code.c coding help:Perl script
Replies: 8
Views: 12288

Re: Custom_Code.c coding help:Perl script

dupe, double post ;)
by nils
Tue Feb 12, 2008 2:58 pm
Forum: Components (Other)
Topic: Custom_Code.c coding help:Perl script
Replies: 8
Views: 12288

Re: Custom_Code.c coding help:Perl script

I thought you would ;-) it is not completely bug proven, but it works for me. unfortunately it does not contain compatibility to your style of coding i.e. void something() { some code; more code; } in contrast to mine that is void something(){ some code; more code; } but maybe you have the excellent...