[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3829: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3247)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3831: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3247)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3832: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3247)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3833: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3247)
Das Elektroniker-Forum • Thema anzeigen - Der Atmega8 und die 7-Segmentanzeigen

Der Atmega8 und die 7-Segmentanzeigen

Fragen oder Tipps & Tricks über Software

Moderatoren: Tim Sasdrich, Sebi

Re: Der Atmega8 und die 7-Segmentanzeigen

Beitragvon Anse » 25.06.2011, 18:27

"Div" bedeutet geteilt-oder?
Anse
 
Beiträge: 1442
Registriert: 09.06.2011, 14:18

Re: Der Atmega8 und die 7-Segmentanzeigen

Beitragvon topas » 25.06.2011, 18:30

Ich denke mal ja. In mikrobasic: "/". Wie wohl in den meisten Programmiersprachen (z.B. pahlbasic :D ).
topas
 
Beiträge: 3796
Registriert: 16.08.2010, 12:47
Wohnort: Allen schoene Feiertage!!

Re: Der Atmega8 und die 7-Segmentanzeigen

Beitragvon Anse » 25.06.2011, 18:35

Bascom kennt "Div" auch nicht mit "/" habe ich schon Erfolge erzielt.
Anse
 
Beiträge: 1442
Registriert: 09.06.2011, 14:18

Re: Der Atmega8 und die 7-Segmentanzeigen

Beitragvon topas » 25.06.2011, 18:43

hmmmm, pssst - können wir Chef noch trauen? Bin mir gar nicht mehr so sicher? Vielleicht verwechselt er sein Beetlebasic auch schon mal mit Bascom. Ich kenne ähnliches. Ich kupfere ja auch überall ab. :D Aber das grosse Vorbild bleibt: Commodorebasic. (Ursprung Microsoft, wie so viele andere Basic-Dialekte auch)

Edit: habe grad nachgeschaut: auch in Chefs Basic ist der Operator für die Division "/". Sorry Chef. Weiss nicht, wie er auf div kommt.
aus der Bascom-Help:
* Asterisks (multiplication symbol)
+ Plus sign
, Comma
- Minus sign
. Period (decimal point)
/ Slash (division symbol) will be handled as \
^ Exponent
topas
 
Beiträge: 3796
Registriert: 16.08.2010, 12:47
Wohnort: Allen schoene Feiertage!!

Re: Der Atmega8 und die 7-Segmentanzeigen

Beitragvon Anse » 25.06.2011, 19:19

Ich habe mich mal kundig gemacht. die Funktion Modulo sucht bei einer Divisions Aufgabe das nächstliegnde Ergebnis und gibt den Rest aus.

z.B. so 10 mod 3 = 1
3 mal 3 = 9 + 1 = 10
Stimmt das?
Anse
 
Beiträge: 1442
Registriert: 09.06.2011, 14:18

Re: Der Atmega8 und die 7-Segmentanzeigen

Beitragvon topas » 25.06.2011, 19:21

Perfekt!
topas
 
Beiträge: 3796
Registriert: 16.08.2010, 12:47
Wohnort: Allen schoene Feiertage!!

Re: Der Atmega8 und die 7-Segmentanzeigen

Beitragvon Anse » 26.06.2011, 15:06

Anse
 
Beiträge: 1442
Registriert: 09.06.2011, 14:18

Re: Der Atmega8 und die 7-Segmentanzeigen

Beitragvon hws » 26.06.2011, 16:22

hws
 
Beiträge: 1081
Registriert: 11.01.2009, 18:58
Wohnort: NRW

Re: Der Atmega8 und die 7-Segmentanzeigen

Beitragvon Anse » 27.06.2011, 17:55

Anse
 
Beiträge: 1442
Registriert: 09.06.2011, 14:18

Re: Der Atmega8 und die 7-Segmentanzeigen

Beitragvon hws » 27.06.2011, 20:04

hws
 
Beiträge: 1081
Registriert: 11.01.2009, 18:58
Wohnort: NRW

Re: Der Atmega8 und die 7-Segmentanzeigen

Beitragvon Anse » 28.06.2011, 10:25

Danke, jetzt habe ichs verstanden.
Anse
Anse
 
Beiträge: 1442
Registriert: 09.06.2011, 14:18

Vorherige

Zurück zu Software

Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 2 Gäste