- Posts: 170
Can Any help me with my F7
- djtrance
- Topic Author
- Offline
The problem with the trim bar is that when you push to up in the trim, the horizontal bar is changing.
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
- Posts: 4402
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
- Posts: 4402
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
- Posts: 4402
Please Log in or Create an account to join the conversation.
- djtrance
- Topic Author
- Offline
- Posts: 170
Please Log in or Create an account to join the conversation.
- djtrance
- Topic Author
- Offline
- Posts: 170
Please Log in or Create an account to join the conversation.
- djtrance
- Topic Author
- Offline
- Posts: 170
In the devo F7 the video function is not working. I saw the function, but I can't found the problem. I'm still working in the mix_curve function but is hard to do a function that show the curve with only "." dots.
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
- Posts: 4402
I know that the F7 video doesn't work. I have spent no effort to enable it on the F7 as yet. MicroUAV never completed that work either. I'll get to it eventually.
Please Log in or Create an account to join the conversation.
- djtrance
- Topic Author
- Offline
- Posts: 170
MicroUAV has in the code the function for the video. when you set the R+, the video is turn int on, with the L- you can change the channel. I'm using the same code to turn it on the video, and the screen showing the video for a half of second. but maybe the video channel is not working well, because with my video TX on the channel 2 I have a video, but is not showing well. Maybe is the setting that is working for PAL and my video camera (walkera camera) is on NTSC.
Please Log in or Create an account to join the conversation.
- djtrance
- Topic Author
- Offline
- Posts: 170
Now I have the video tx working, Is basically a copy of the F12E function with the gpio of the devo F7. The channels are only 8, I must change the numbers for F7 because the initial channel on f12E is 0 and into the F7 is 1. I will upload the code tonight I guess.
Maybe in the future we can do a spi driver for the video rx, because with some little modification, we can use all of band in this video Rx, but is required a modification on the video board.
I have know some code to the graphics of the mix curve function, I'm not ready to release it, obviously will not have the same quality like devo10 but we can see something similar.
Please Log in or Create an account to join the conversation.
- djtrance
- Topic Author
- Offline
- Posts: 170
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
- Posts: 4402
The only thing I didn't merge is this:
void LCD_Clear(unsigned int i)
{
// Set the character size to 1dot for all lines
- for(i = 0; i < LCD_SCREEN_LINES; i++) {
+ for(i = 0; i <= LCD_SCREEN_LINES; i++) {
LCD_Cmd(LCD_IA911_CHAR_SIZE | i);
lcd_show_line("", i, LCD_ALIGN_LEFT, 0);
}
Please Log in or Create an account to join the conversation.
- djtrance
- Topic Author
- Offline
- Posts: 170
when you say that I must not work in the devof7 branch,
what do you mind? must I work on the default?
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
- Posts: 4402
There are 12 lines defined, and the count is zero based, so the lines are numbered 0 through 11. That is why we use i < LCD_SCREEN_LINES. So using i <= LCD_SCREEN_LINES would clear 13 lines which doesn't match. Soeither LCD_SCREEN_LINES should be '13' or something else is wrong.
Please Log in or Create an account to join the conversation.
- djtrance
- Topic Author
- Offline
- Posts: 170
Please Log in or Create an account to join the conversation.
- djtrance
- Topic Author
- Offline
- Posts: 170
For example, when you want to see the ABSval.
Now the LCD_drawline is working, but it is not showing to well, because I need more information of the "pixel" that must be writing on the screen. how I'm using the center dot and the normal dot "." for drawing, I need to know how is the pending between 3 points, but actually the function that is calling the function LCD_drawline() is only sending one pixel near to the next position, and if I try to know the pending between of this I only know if the curve is going down or up, but I have not information of the next point, and this is very important, because the resolution that we can have with only one dot is too little, but if I change the type of dot for every circunstance, I can simulate a better curve.
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
- Posts: 4402
The font doubling works by doubling the line height (and width) . So for the F12E, we tell Deviation the screen is 66x26 even through in realitywe can only display 33x13 characters. this half-step is useful for alignment and maybe thatwould work for you as well.
Please Log in or Create an account to join the conversation.
- djtrance
- Topic Author
- Offline
- Posts: 170
Please Log in or Create an account to join the conversation.
- djtrance
- Topic Author
- Offline
- Posts: 170
I will restart my works on F7, I don't really know the actual state of the firmware, I'm still working on my fork on bitbucket.
I want to work on the drawing function for a mix_curver but maybe you can say me what do you thing is more important to fix in this TX,
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
- Posts: 4402
Please Log in or Create an account to join the conversation.
- Home
- Forum
- Development
- Development
- Can Any help me with my F7